docker搭建portainer图形管管理容器平台

  • 查询当前portainer镜像
[root@VM_16_17_centos ~]# docker search portainer
INDEX       NAME                                          DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
docker.io   docker.io/portainer/portainer                 Making Docker management easy. https://por...   1957                 
docker.io   docker.io/portainer/agent                     An agent used to manage all the resources ...   74                   
docker.io   docker.io/portainer/portainer-ce              Portainer CE                                    27                   
docker.io   docker.io/portainer/templates                 App Templates for Portainer http://portain...   19                   
docker.io   docker.io/lihaixin/portainer                  docker ui                                       14                   [OK]
docker.io   docker.io/greenled/portainer-stack-utils      Bash scripts to deploy/undeploy stacks in ...   5                    [OK]
docker.io   docker.io/portainer/golang-builder            Utility to build Golang binaries.               4                    [OK]
docker.io   docker.io/portainer/portainer-k8s-beta        Portainer for Kubernetes BETA                   4                    
docker.io   docker.io/portainerci/portainer               Portainer images automatically created via...   4                    
docker.io   docker.io/hassioaddons/portainer                                                              2                    
docker.io   docker.io/portainer/base                      Multi-stage build image to create the Port...   2                    [OK]
docker.io   docker.io/softonic/portainer-endpoint         Allows auto register all the swarm nodes i...   1                    [OK]
docker.io   docker.io/11384eb/portainer                                                                   0                    
docker.io   docker.io/agiper/portainer                                                                    0                    
docker.io   docker.io/hassioaddons/portainer-amd64                                                        0                    
docker.io   docker.io/hassioaddons/portainer-armv7                                                        0                    
docker.io   docker.io/helloysd/portainer                                                                  0                    
docker.io   docker.io/iconviet/portainer                                                                  0                    
docker.io   docker.io/johnvmt/portainer-ecr-credentials   Periodically updates the credentials Porta...   0                    [OK]
docker.io   docker.io/nenadilic84/portainer                                                               0                    
docker.io   docker.io/portainer/agent-k8s-beta            Portainer for Kubernetes BETA (agent)           0                    
docker.io   docker.io/portainerci/agent                   Portainer agent images automatically creat...   0                    
docker.io   docker.io/profidata/portainer                 Fork of portioner/portainer                     0                    
docker.io   docker.io/rancher/portainer-agent                                                             0                    
docker.io   docker.io/webdevsvc/portainer                 portainer                                       0                    [OK]

  • 下载指定portainer镜像
[root@VM_16_17_centos ~]# docker pull portainer/portainer
Using default tag: latest
Trying to pull repository docker.io/portainer/portainer ... 
latest: Pulling from docker.io/portainer/portainer
d1e017099d17: Pull complete 
717377b83d5c: Pull complete 
Digest: sha256:f8c2b0a9ca640edf508a8a0830cf1963a1e0d2fd9936a64104b3f658e120b868
Status: Downloaded newer image for docker.io/portainer/portainer:latest
  • 部署
docker run -d -p 9090:9000 --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data --name portainer portainer/portainer
  • 地址栏输入域名/IP:9090访问
    在这里插入图片描述
    在这里插入图片描述
    在这里插入图片描述

有问题请添加个人微信:【mengyilingjian】,进群一起技术讨论。添加时请备注来意,谢谢!
在这里插入图片描述
在这里插入图片描述

posted @ 2020-09-11 11:07  梦逸灵箭  阅读(589)  评论(0编辑  收藏  举报