是一款Docker可视化管理工具,可让您轻松构建和管理 Docker、Docker Swarm、Kubernetes 和 Azure ACI 中的容器。
一、使用docker-compose启动
version: "3"
services:
portainer:
hostname: portainer
container_name: portainer
image: portainer/portainer
volumes:
- type: bind
source: /var/run/docker.sock
target: /var/run/docker.sock
- type: bind
source: /usr/local/soft/portainer/data
target: /data
ports:
- 9000:9000
- 8000:8000
restart: always
networks:
- local
networks:
local:
参考
https://blog.csdn.net/qfzhaohan/article/details/121907559
https://baijiahao.baidu.com/s?id=1726602252065604930&wfr=spider&for=pc