https://github.com/portainer/portainer
https://hub.docker.com/r/portainer/portainer/
https://hub.docker.com/r/6053537/portainer-ce
portainer
portainer/portainer:latest
卷:
/var/run/docker.sock:/var/run/docker.sock
/etc/localtime:/etc/localtime:ro
/data/file:/data/file
ip不变.
负载均衡: 8900-9000
docker run -d -p 8900:9000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer:latest
http://ip:8900 # 查看验证 W~1@5
官方网站:https://portainer.io/
官方文档:https://portainer.readthedocs.io/
portainer集群启动: 启动集群参考官方文档:https://portainer.io/install.html
docker service create \--name portainer \--publish 8900:9000 \--replicas=1 \--constraint 'node.role == manager' \--mount type=bind,src=//var/run/docker.sock,dst=/var/run/docker.sock \--mount type=bind,src=//opt/portainer,dst=/data \portainer/portainer \-H unix:///var/run/docker.sock
http://www.htmltoo.com/