Till now, the Raspberry Hype was not for me, because the Hardware was very weak compared with Cubieboard or Odroid. But times are changing…Raspberry Pi2 is here. The Hardware is still not at the Bleeding Edge but good enough for Docker now. How to install:
- Get the Archlinux from http://archlinuxarm.org/platforms/armv7/broadcom/raspberry-pi-2.
- Follow the installation instruction.
- Start ArchLinux and install Docker with “pacman -S docker”
- Reboot and then type “docker -d&”
- “sysctl -w net.ipv4.ip_forward=1” to enable IP4 Forwarding
- Get a Docker Image like this one “https://registry.hub.docker.com/u/wirthual/rpi-webiopi/”
- Additional information “About a private Raspberry Pi Cloud with ARM Docker”
Currently I’m testing if the GPIO are accessible from the Docker Image…to be continued.
[Update: 7.02.2015] GPIO seems to be accessable from a Docker Image. The command “gpio readall” was successful. The key to success is the “–privileged” parameter at “docker run -d -p 8000:8000 –privileged wirthual/rpi-webiopi webiopi”
[Update: 10.02.2015] There is a new Docker version available. Because of the problem with “locked database” (Docker 1.4) I would recommend to update Archlinux/Arm with “pacman -Syu”. This will update from 1.4.1 to 1.5.0 Docker.
[Update:21.02.2105] We have created a “Ready to use” Raspi2 Archinunx and preinstalled Docker 1.5 at https://www.homegear.eu/index.php/Downloads