Portainer部署



1.搜索portainer镜像

docker search portainer

2.拉取Portainer镜像

docker pull portainer/portainer-ce

3.启动Portainer容器

#启动镜像

docker run -d -p 9000:9000 --restart=always \
-v /var/run/docker.sock:/var/run/docker.sock \
--name portainer portainer/portainer-ce

4.查看容器列表及日志

docker ps
docker logs -f portainer

解决安装portainer时的错误:“尝试拉动和启动portainer时出了点问题”

即 :{“Something went wrong trying to pull and start portainer”}

Zitat

Docker storage :: /srv/dev-disk-by-uuid-c289a88e-31dc-4146-a254-1927f3a7b2c7/Docker

Agent port:: 8000

Web port:: 9000

Yacht port:: 8001

ee:: 0

image:: portainer/portainer-ce

arch :: amd64

option :: portainer

state :: install

extras :: 6.0.7

DNS OK.

No portainer containers or images to remove.

Pulling and starting portainer/portainer-ce ...

d0672f9c4f33178e79766e07b9941366c1ecb40b386dea76c433ba25b143a945

Something went wrong trying to pull and start portainer ...

使用:apt install apparmor apparmor-utils auditd

评论

最多热度

使用密钥连接你的VPS

Wordpress

Docker部署