安装
搜索
[root@zjj101 /]# docker search portainer
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
portainer/portainer This Repo is now deprecated, use portainer/p… 2114
portainer/portainer-ce Portainer CE - Making Docker and Kubernetes … 670
portainer/agent An agent used to manage all the resources in… 113
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]
portainer/portainer-k8s-beta Portainer for Kubernetes BETA 5
portainerci/portainer Portainer images automatically created via P… 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
hassioaddons/portainer-amd64 0
portainerci/agent Portainer agent images automatically created… 0
xanderstrike/portainer-issue for illustrating a portainer issue 0
helloysd/portainer 0
nenadilic84/portainer 0
antsoftxyz/portainer-api A portainer api wrapper which can help you C… 0
11384eb/portainer 0
portainerci/portainer-ee Portainer EE CI repository 0
iconviet/portainer 0
拉取
[root@zjj101 /]# 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
启动
[root@zjj101 /]# docker run -d -p 9000:9000 --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data --name prtainer-test portainer/portainer
c430455269fe8ae9e5c2f33ba3fc7c8083e7de79f0bb6b22374d2c924b9acf96
[root@zjj101 /]#
Portainer 的 web 页面登录
在浏览器输入部署服务器的 IP:9000,回车,显示如下界面:
第一次需要创建一个用户
由于是本地 docker,所有选择 local
效果: