After a lot of hard work it became official and Docker came to the Raspberry Pi.
In this repository you will find:
- a curated list of links for getting started with Docker on Pi
- tutorials around Swarm and Swarm Mode
- ARM specific images to get you up and running in no time.
If you've not read the Raspberry Pi blog post then you can see it here:
I'm a Docker Captain so I'd love to hear from you with your questions, comments and suggestions on Twitter @alexellisuk or through the blog comments sections.
This content is licensed under GPLv3. Contributions to keep Dockerfiles up to date and relevant are welcome - also happy to extend the coverage and take updates to the guides. Please just raise an issue before the PR for discussion.
Since I started this repository the installation of Docker and its native clustering modes has changed. This section gives you a summary of tutorials for each part.
If you want to see what Docker can do on the Pi, or just want to learn about it then head over to this guide:
Check out my video where I set up a swarm with 7 different Raspbery Pi 2s and demo the Swarm Visualizer project.
For an overview of Swarm Mode:
Mano Marks put together a ReactJS Swarm Visualizer tool. It was originally demoed at Dockercon over three huge screens. He's accepting contributions so this is a great chance to pitch in.
Set up Swarm Mode with OTG networking, look ma, no ethernet!
One of the most exciting ways Docker and the Raspberry Pi work together is through GPIO. You can access hardware such as the products by Pimoroni through containers and build/ship/run/deploy your apps.
For a prime example see my Dockercon 2016 Demo of a set of IoT sensors:
Up until Dockercon 2016 the Docker-way to create a swarm was through a special Docker image called swarm
. This repository was commissioned to support a tutorial published in Issue 163 of Linux User and Developer Magazine. If you didn't get a copy of the magazine, you can pick up a digital edition or follow a simplified online guide.
This article was retweeted by @Docker on Mar 31 2016, so head over to the blog and have a read.
Follow this quick-start guide to get Docker and/or Swarm up and running on your PI Zeros right away.
If you want to try Docker or Docker Swarm on ARM or are already using it, then you will find these resources useful:
/images
No official Docker images work on the ARM architecture because they contain binaries built for x64 (regular PCs). I've curated separate images for PI 2/3 and PI Zero. You can read more about this in the Getting Started Tutorial
- Nginx
- Go 1.5
- Go 1.6
- Consul
- Redis
- Node.js 4.x
- Several examples of GPIO
- Build Docker itself
Contributions are welcome, please open an issue with your suggestion and once confirmed I'll be happy to merge the changes. You can also find a number of additional images maintained by the Hypriot team.
Head over to README_CLASSIC.md
Copyright Alex Ellis 2016