支持查看宿主机容器列表
支持在线查看容器日志
支持查看镜像layer
支持查看宿主机资源
更多支持大家继续探讨,挺好用的对于单机来说当然也支持多机需要docker swarm支持,但是多机一般都会考虑k8s。
1、docker-compose.yml
version: "3" services: portainer: image: portainer/portainer container_name: portainer restart: always ports: - "9000:9000" volumes: - /var/run/docker.sock:/var/run/docker.sock - /home/docker/portainer/data:/data
2、启动
docker-compoe up -d
3、UI展示
原文:https://www.cnblogs.com/dszazhy/p/15095218.html