Portainer可视化面板安装


什么是portainer

docker的图形化管理页面,提供一个后台页面给我我们操作

官方文档地址:https://www.portainer.io/installation/

#官方推荐的安装方法
$ docker volume create portainer_data
$ docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce

[root@localhost ~]# docker run -d -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer-ce
Unable to find image 'portainer/portainer-ce:latest' locally
latest: Pulling from portainer/portainer-ce
d1e017099d17: Pull complete 
b0718b1ef1b0: Pull complete 
Digest: sha256:0ab9d25e9ac7b663a51afc6853875b2055d8812fcaf677d0013eba32d0bf0e0d
Status: Downloaded newer image for portainer/portainer-ce:latest
9d8bd674845ac701779ad5f95f24f8d84048c6dcaa56cd5909e2810605ac6dfb
[root@localhost ~]# docker ps 
CONTAINER ID        IMAGE                    COMMAND                  CREATED             STATUS              PORTS                              NAMES
9d8bd674845a        portainer/portainer-ce   "/portainer"             9 seconds ago       Up 8 seconds        8000/tcp, 0.0.0.0:9000->9000/tcp   portainer

image-20200911161032899

image-20200911162043371

在这能看到我们docker详细信息


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM