Portainer Containers And Clusters Management Tool

In this section, we will discuss Portainer which manages containers.

Introduction

  • Portainer is used to manage our docker host, Kubernetes clusters, and, container
  • It is a robust and lightweight tool that is used to manage the containers
  • Portainer has an excellent user interface using which we have collected all things related to containers and clusters efficiently
  • It is also used to monitor the performance and health of containers
  • If you want more detail about Portainer then visit the official website portainer.io

Portainer Containers And Clusters Management Tool

Installation and Setup

(Note: Make sure Docker Desktop is in running mode on your local system)

Step 1

Pull the Portainer docker image as I have shown below

Portainer Containers And Clusters Management Tool

Step 2

Next, create a volume which Portainer which is used to store its data

docker volume create portainer_data

Step 3

Now, we are going to run the Portainer image which we pull after passing some configuration like port number, name of the container, volume, and image name

docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce

Portainer Containers And Clusters Management Tool

Step 4

Here, in the Docker Desktop, the Portainer is running inside the container

Portainer Containers And Clusters Management Tool

Step 5

Open the browser and open the Portainer and set the password

Portainer Containers And Clusters Management Tool

Step 6

Here we see the local environment

Portainer Containers And Clusters Management Tool

Step 7

Also, the list of containers, images, volumes, and many more

Portainer Containers And Clusters Management Tool

Step 8

This is our Portainer image that runs inside the container, IP Address, Port, and all things related to the container

Portainer Containers And Clusters Management Tool

Conclusion

In this section, we discussed Portainer, the setup, and configuration of Portainer on our local system, and a few related things after navigating Portainer Dashboard.