Archlinux and Docker for my Raspberry PI2


What is the best linux distribution for Raspberry PI2? I started with Raspian (Debian is my preferred Linux distribution for servers, desktops and laptops) but docker didn’t work. But with Archlinux it works fine. How to create a docker images with Archlinux & RPI2? See matteoredaelli/docker-karaf-rpi is the first docker image I have created. Below my docker info output:

[root@raspi1 ~]# docker info Containers: 4 Images: 9 Storage Driver: aufs Root Dir: /var/lib/docker/aufs Backing Filesystem: extfs Dirs: 17 Execution Driver: native-0.2 Kernel Version: 3.18.10-1-ARCH Operating System: Arch Linux ARM CPUs: 1 Total Memory: 432.8 MiB Name: raspi1 ID: UOFM:E7CP:2OTL:VTTM:QRP2:JNJ7:UFCI:2MDE:AOYQ:MGTM:Q25F:FL37 WARNING: No memory limit support WARNING: No swap limit support

Below some docker survival commands:``` docker run -i -t –name karaf \ -p 1099:1099 -p 8101:8101 \ -p 44444:44444 -v /apps/karaf-deploy:/deploy \ matteoredaelli/karaf-docker-rpi /bin/bash docker start karaf docker stop karaf docker exec -it karaf bash docker top docker ps docker ps -a docker images

Enter your instance's address

More posts like this