Docker Swarm UI配置 - Sun, Aug 22, 2021
Docker Swarm UI配置
docker volume create portainer_data
docker service create \
--name portainer \
--publish 9000:9000 \
--replicas=1 \
--constraint 'node.role == manager' \
--mount src=portainer_data,dst=/data \
--mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock \
portainer/portainer \
-H unix:///var/run/docker.sock
服务列表:
节点列表