Portainer – Make your life easy with docker

Docker containers can be a real challenge to manage. With so many moving parts and commands to work with, life can get a bit challenging. And by time, it become more complex as your infrastructure grows. To make your life easier, Portainer comes with a GUI tool that can be accessed from anywhere on your LAN. So that you can work efficiently, effectively, and reliably.

Portainer can be deployed on top of Kubernetes, Docker, or Docker Swarm and it works seamlessly on a third-party cloud host or can be used on-prem or even at the edge.

Portainer gives you complete control over your containers, allowing you to pull images, create containers, networks and endpoints, and create registries.

This article is not going to guide you about portainer workflow, rather I will show you how you can install it on docker environment.
I do consider your docker is already installed on a machine and I am going to install portainer on the same machine.

How to Install Portainer!
First of all, you’ll need to create a new Docker volume. Portainer will use this to store its persistent data. I am going to call it portainer_data.

docker volume create portainer_data

Now use Docker to start a new Portainer container:

docker run -d -p 9000:9000 --name=portainer --restart=unless-stopped -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce

This command will pull the portainer/portainer-ce image and start a new container from it. The container will be detached and executing in the background (-d).

Now you can access your portainer GUI at http://your_docker_host_ip:9000

The video will show you how to install portainer on docker environment.