Deploying Portainer CE in Docker

Portainer是一个轻量级的管理UI,它允许你轻松地管理你的Docker和Kubernetes集群

https://documentation.portainer.io/v2.0/deploy/ceinstalldocker/
https://hub.docker.com/r/portainer/portainer-ce

docker volume create portainer_data

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

docker run -d -p 9001:9001 --name portainer_agent --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/docker/volumes:/var/lib/docker/volumes portainer/agent

image

原文地址:https://www.cnblogs.com/firewalld/p/14767135.html