I have recently become fascinated with Docker on my Raspberry Pi and have been using it to do everything from Python Scrips to Home Assistant and running various API’s for integration into my smart home. Docker which is a container-based virtualization system allows you to run OS level virtual environments in “containers” giving you the ability to have multiple running at one time. I have found this great for combining a couple Raspberry Pi’s onto a single Raspberry Pi. No longer do I need to have a dedicated Raspberry Pi for Home Assistant and a separate on for Pi-hole, I can run them both on one machine! This is all well and good but quickly I needed a way to manage all these containers which lead me to Portainer.io. Portainer.io runs in its own Docker container and gives you an easy to use web interface where you can easily see what is going on with all your Docker containers and images.
- From the Raspbian Desktop launch Terminal
- From Terminal you need to install Portainer.io using the follow command,
- $ docker run -d -p 9000:9000 –restart always -v /var/run/docker.sock:/var/run/docker.sock -v /opt/portainer:/data portainer/portainer
- You can now Portainer.io on the web at,
The Portainer.io UI makes it super simple to see what is going on especially as the number of Docker containers I have in play continues to grow. I can easily see what is running, pause a container, completely stop a container and even remove containers. These would normally all require at least one terminal command so eliminating that is a huge benefit.
Any other Docker lovers out there? What are you using to manage your containers?
I am passionate about the IoT and connected devices. Using connectivity to automate our lives will empower civilization to achieve greatness.