Docker Graphical Management Tool Portainer

Open Source lightweight management UI tool Portainer for Docker hosts and Swarm clusters. Docker Graphical Management Tool Portainer can supercharger your development and be a relief for cli allergies. Portainer provides a detailed overview of Docker and allows you to manage containers, images, networks and volumes.

Docker Graphical Managing Tool

Docker Graphical Managing Tool Portainer


How to deploy Docker UI Tool on Linux

Create docker volume for data

# docker volume create portainer_data
# docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer

Once deployed the container enable port 9000 on your firewall.

# firewall-cmd --add-port 9000/tcp --permanent
# firewall-cmd --add-port 9000/tcp

Access the port 9000 where portainer is running using your browser.


Deploy Docker Graphical Tool using Docker-Compose


# vi docker-compose.yml


version: '2'

image: portainer/portainer
- "9000:9000"
command: -H unix:///var/run/docker.sock
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data


Save and exit.

# docker-compose up

Using Swarm Cluster

You can directly deploy Portainer as a service in your Docker cluster.

# docker volume create portainer_data
# docker service create \
--name portainer \
--publish 9000:9000 \
--replicas=1 \
--constraint 'node.role == manager' \
--mount type=bind,src=//var/run/docker.sock,dst=/var/run/docker.sock \
--mount type=volume,src=portainer_data,dst=/data \
portainer/portainer \
-H unix:///var/run/docker.sock