Install Portainer on Docker

Docker Hub : https://hub.docker.com/r/portainer/portainer

Requirements

Docker Installation is required to deploy Portainer

Our Recommended Template : Ubuntu 18.04

  Portainer is a lightweight management UI which allows you to easily manage your Docker host. Portainer is meant to be as simple to deploy as it is to use. It consists of a single container that can run on any Docker engine..

 

It is very simple to deploy Portainer on Docker

Step 1: Create a volume for Portainer in docker

 docker volume create portainer_data

 

Step 2: Deploy portainer

docker run -d -p 9000:9000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer

 

Step 3: Accessing Web UI

You can now use Portainer by accessing the port 9000 on the server where Portainer is running.

http://<your_vm_ip>:9000

Enter your Username and Password to create a new User by Clicking Create User

 

Step 4: Select the “Local” Environment and click Connect

Step 5: You can view your docker containers and images in Dashboard

Step 6: You can Control the Containers from the Containers submenu