The guys at Hypriot did an awesome job to bring Docker to the Raspberry Pi world.
If you want to give it a try, you have two options
Option 1: Prebuilt images
Thats the best option if you want to have a full-fledged docker environment with optimized settings and hassle free installation.
Just download the image from this page and “burn” it to a sd-card. Plug the card in your RPi and enjoy.
Read more about this solution in their Blog: Get your all-in-one Docker playground now: HypriotOS reloaded!
Option 2: Debian Package
This option is the way you should go if you don’t have a spare sd-card around.
You can download a .dep file from this page and install it via
dpkg -i package_name.deb
I tried this option on my current Jessie installation and encountered one problem: All docker command had to be issued via sudo. Thats because the docker.sock is only accessible for the root user. I didn’t follow up on this as i am going with option one 🙂
Quick test run? Here we go
After you have installed either the image version or the dep, you should be good to go for a first test.
Log in to your pi and kick of the following command:
docker run -d -p 8080:80 hypriot/rpi-busybox-httpd
Docker is now downloading the webserver image from the docker registry and start the container.
Now start your web browser and open http://<your-pi-ip>:8080
Wait, there is one more thing
They also build an awesome hardware stack called “The Pi Tower” which consists of 4 Raspberry Pi 2 stacked on top of a 5-Port-Switch.
Read more about this at their blog: Let Docker Swarm all over your Raspberry Pi Cluster
Also published on Medium.