Docker 图形界面管理工具Portainer

Posted 我的紫霞辣辣

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Docker 图形界面管理工具Portainer相关的知识,希望对你有一定的参考价值。

Docker图形界面管理工具Portainer

Portainer官网

1. 搜索查看镜像(portainer)
[root@docker01 ~]# docker search portainer
NAME                             DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
portainer/portainer              This Repo is now deprecated, use portainer/p…   2105                 
portainer/portainer-ce           Portainer CE - Making Docker and Kubernetes …   631                  
portainer/agent                  An agent used to manage all the resources in…   110                  
portainer/templates              App Templates for Portainer http://portainer…   23                   
lihaixin/portainer               docker ui                                       15                   [OK]
greenled/portainer-stack-utils   Bash scripts to deploy/undeploy stacks in a …   6                    [OK]
portainerci/portainer            Portainer images automatically created via P…   5                    
portainer/portainer-k8s-beta     Portainer for Kubernetes BETA                   5                    
portainer/golang-builder         Utility to build Golang binaries.               4                    [OK]
hassioaddons/portainer                                                           2                    
portainer/base                   Multi-stage build image to create the Portai…   2                    [OK]
portainer/portainer-ee           Portainer EE - Making Docker and Kubernetes …   2                    
portainer/agent-k8s-beta         Portainer for Kubernetes BETA (agent)           1                    
thibaudlabat/portainer_32        Portainer built for 32bit Linux [ OUTDATED ]…   1                    
softonic/portainer-endpoint      Allows auto register all the swarm nodes in …   1                    [OK]
hassioaddons/portainer-armv7                                                     1                    
iconviet/portainer                                                               0                    
hassioaddons/portainer-amd64                                                     0                    
helloysd/portainer                                                               0                    
nenadilic84/portainer                                                            0                    
11384eb/portainer                                                                0                    
antsoftxyz/portainer-api         A portainer api wrapper which can help you C…   0                    
portainerci/agent                Portainer agent images automatically created…   0                    
portainerci/portainer-ee         Portainer EE CI repository                      0                    
xanderstrike/portainer-issue     for illustrating a portainer issue              0    

2. 拉取Portainer镜像
[root@docker01 ~]# docker pull portainer/portainer
Using default tag: latest
latest: Pulling from portainer/portainer
94cfa856b2b1: Pull complete 
49d59ee0881a: Pull complete 
a2300fd28637: Pull complete 
Digest: sha256:fb45b43738646048a0a0cc74fcee2865b69efde857e710126084ee5de9be0f3f
Status: Downloaded newer image for portainer/portainer:latest
docker.io/portainer/portainer:latest

3. 创建一个自定义容器卷
[root@docker01 ~]# docker  volume create portainer_data
portainer_data

4. 创建并运行portainer容器
# -v /var/run/docker.sock:/var/run/docker.sock 	 将托管机的Docker守护进程(Docker daemon)关闭监听的Unix域可以挂载到容器中
# -v portainer_data:/data    把宿主机portainer_data数据卷挂载到容器/data目录上
[root@docker01 ~]# docker run -d -p 9000:9000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer
699f9ad456be00fa0113adf9079e05044a7e3621a77c86538494192f7b09cc17

5. 查看正在使用的容器
[root@docker01 ~]# docker ps |grep  portainer
699f9ad456be   portainer/portainer        "/portainer"             56 seconds ago      Up 55 seconds      0.0.0.0:9000->9000/tcp, :::9000->9000/tcp   portainer

6. 使用浏览器测试访问
http://192.168.15.80:9000/



以上是关于Docker 图形界面管理工具Portainer的主要内容,如果未能解决你的问题,请参考以下文章

Docker图形界面管理之Portainer

第五课:docker图形化界面管理-Portainer

docker图形化管理界面portainer安装

ubuntu16.04安装docker图形管理界面portainer

Docker可视化web界面管理-Portainer部署记录

Docker图形化工具Portainer详解