Portainer – Simple managment UI for Docker

Portainer gives you access to a central overview of your Docker host or Swarm cluster. From the dashboard, you can easily access any manageable entity.

1. download image

docker pull portainer/portainer

2. create the persistence storage

mkdir /storage/portainer
chcon -Rt svirt_sandbox_file_t /storage/portainer

3. create the container

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

4. add the firewall rule

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

Leave a Reply

Your email address will not be published. Required fields are marked *