Hi everyone!
In the Django series, we've been using Docker to build our infrastructure. While managing everything through the CLI is a valuable skill, sometimes a user-friendly GUI can be a big help with certain tasks.
And that's where our chosen GUI manager comes in: Portainer.
What is Portainer?
Portainer is a web based Docker manager. It can manage local daemon instances -our local development machine- or remote instances.
Just like any other software, Portainer itself can be conveniently installed and run within a Docker container.
What can I do Portainer?
Portainer provides a central hub for managing all the components within your Docker environment. This includes:
Containers: The individual running instances of applications.
Images: The blueprints used to create containers.
Stacks (Docker Compose stacks): Groups of related containers managed as a single unit.
Networks: How containers communicate with each other.
Volumes: Persistent storage used by containers.
Portainer goes beyond just viewing these elements. It also allows you to perform various actions on running containers, such as:
Entering the container's shell for direct control.
Viewing container logs for troubleshooting.
Monitoring container performance metrics like CPU and memory usage.
Installation as a Docker container
The installation is extremely easy:
When the command finalices, you can access to Portainer with this URL:
You can get more info in its web page: https://docs.portainer.io/start/install-ce/server/docker/linux
About the list
Among the Python and Docker posts, I will also write about other related topics (always tech and programming topics, I promise... with the fingers crossed), like:
Software architecture
Programming environments
Linux operating system
Etc.
If you found some interesting technology, programming language or whatever, please, let me know! I'm always open to learning something new!
About the author
I'm Andrés, a full-stack software developer based in Palma, on a personal journey to improve my coding skills. I'm also a self-published fantasy writer with four published novels to my name. Feel free to ask me anything!