Myluzh Blog

安装docker可视化管理工具Portainer

发布时间: 2022-8-18 文章作者: myluzh 分类名称: Docker 朗读文章


#搜索
docker search portainer
复制代码
  1. C:\Users\myluzh>docker search portainer
  2. NAME DESCRIPTION STARS OFFICIAL AUTOMATED
  3. portainer/portainer This Repo is now deprecated, use portainer/p 2251
  4. portainer/portainer-ce Portainer CE - a lightweight service deliver 1297
  5. portainer/agent An agent used to manage all the resources in 158
  6. portainer/templates App Templates for Portainer http://portainer… 25
  7. portainer/portainer-ee Portainer BE - a fully featured service deli 24
  8. portainer/golang-builder Utility to build Golang binaries. 6 [OK]

#拉取
docker pull portainer/portainer
2023-06-26更新,原先的已经弃用,请使用docker pull portainer/portainer-ce
复制代码
  1. C:\Users\myluzh>docker pull portainer/portainer
  2. Using default tag: latest
  3. latest: Pulling from portainer/portainer
  4. 94cfa856b2b1: Pull complete
  5. 49d59ee0881a: Pull complete
  6. a2300fd28637: Pull complete
  7. Digest: sha256:fb45b43738646048a0a0cc74fcee2865b69efde857e710126084ee5de9be0f3f
  8. Status: Downloaded newer image for portainer/portainer:latest
  9. docker.io/portainer/portainer:latest

#运行

docker run -d -p 9000:9000 --restart=always -v /var/run/docker.sock:/var/run/docker.sock --name portainer portainer/portainer
复制代码
  1. C:\Users\myluzh>docker run -d -p 9000:9000 --restart=always -v /var/run/docker.sock:/var/run/docker.sock --name portainer portainer/portainer
  2. 827b68a97d4bbe4f6d2cba3d633f7ceedbc8f89550bbe5e028ed522328257df5
#查看运行情况
docker ps
复制代码
  1. C:\Users\myluzh>docker ps
  2. CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
  3. 827b68a97d4b portainer/portainer "/portainer" 5 minutes ago Up 4 minutes 0.0.0.0:9000->9000/tcp portainer

# 查看日志
docker logs -f portainer

标签: docker Portainer


正文到此结束
版权声明:若无特殊注明,本文皆为 Myluzh Blog 原创,转载请保留文章出处。
文章内容:https://itho.cn/docker/176.html
文章标题:《安装docker可视化管理工具Portainer

发表评论