Portainer笔记-安装

新建数据卷

[root@VM-24-9-centos ~]# docker volume create portainer_data

拉取Portainer镜像

[root@VM-24-9-centos ~]# docker pull portainer/portainer-ce
Using default tag: latest
latest: Pulling from portainer/portainer-ce
772227786281: Pull complete 
96fd13befc87: Pull complete 
0bad1d247b5b: Pull complete 
b5d1b01b1d39: Pull complete 
Digest: sha256:f7607310051ee21f58f99d7b7f7878a6a49d4850422d88a31f8c61c248bbc3a4
Status: Downloaded newer image for portainer/portainer-ce:latest
docker.io/portainer/portainer-ce:latest

启动命令

[root@VM-24-9-centos ~]# docker run -itd -p 9000:9000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
1a21ea9a3d8e01a3d10a19c96ddfaaf98a01dd681187dcaed6f40510d914bf2a

展示效果

访问地址:http://ip:9000

设置admin用户密码

image.png

页面介绍

image.png
image.png

posted @ 2023-01-17 14:02  Jruing  阅读(70)  评论(0编辑  收藏  举报