Portainer
documentation.portainer.io/v2.0/deploy…
# docker volume create portainer_data portainer_data复制代码
运行
# docker run -d -p 8001:8000 -p 9001:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce Unable to find image 'portainer/portainer-ce:latest' locally latest: Pulling from portainer/portainer-ce b890dbc4eb27: Pull complete 81378af8dad0: Pull complete Digest: sha256:21713e42233ee953b4cd4e6e8b1e4b6c43ebe2ca1c2dc762824a1866fdb91d3e Status: Downloaded newer image for portainer/portainer-ce:latest c3dd92d6c2095087dd53b82199c8faf178cc4b36da59c1b2d4ca61387d5a590d复制代码
查看
# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES c3dd92d6c209 portainer/portainer-ce "/portainer" 4 minutes ago Up 4 minutes 0.0.0.0:8001->8000/tcp, 0.0.0.0:9001->9000/tcp portainer ae1e7049425b mysql:5.7.32 "docker-entrypoint.s…" 22 hours ago Up 4 hours 0.0.0.0:3306->3306/tcp, 33060/tcp mysql5.7.32复制代码
打开
http://192.168.72.100:9001/复制代码
设置密码
设置连接Docker
选择Docker