gpt4 book ai didi

docker - Portainer 未正确加载

转载 作者:行者123 更新时间:2023-12-02 18:27:27 26 4
gpt4 key购买 nike

我已经下载了 Portainer 镜像并使用以下命令在 Docker 管理器节点中创建了容器。

docker run -d -p 61010:9000 -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer

但一段时间后,容器变得兴奋起来。此外,当我使用上述端口访问 Portainer 时,它只是说 Portainer 正在加载,但什么也没发生。 PFB Portainer 的日志
2019/10/16 16:20:58 server: Reverse tunnelling enabled
2019/10/16 16:20:58 server: Fingerprint 43:68:57:37:e4:3f:f7:98:bd:52:13:39:c6:6d:24:c9
2019/10/16 16:20:58 server: Listening on 0.0.0.0:8000...
2019/10/16 16:20:58 Starting Portainer 1.22.1 on :9000
2019/10/16 16:20:58 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message:
starting tunnel management process]
2019/10/16 16:25:58 No administrator account was created after 5 min. Shutting down the Portainer
instance for security reasons.
2019/10/16 16:30:12 Templates already registered inside the database. Skipping template import.
2019/10/16 16:30:12 server: Reverse tunnelling enabled
2019/10/16 16:30:12 server: Fingerprint 43:68:57:37:e4:3f:f7:98:bd:52:13:39:c6:6d:24:c9
2019/10/16 16:30:12 server: Listening on 0.0.0.0:8000...
2019/10/16 16:30:12 Starting Portainer 1.22.1 on :9000
2019/10/16 16:30:12 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message:
starting tunnel management process]
2019/10/16 16:35:12 No administrator account was created after 5 min. Shutting down the Portainer
instance for security reasons.

我不确定 Porainer 是否在 61010 上运行。此外,我是否需要安装代理才能使其工作,请帮助解决此问题。

最佳答案

关注 docs它应该工作:

Quick start If you are running Linux, deploying Portainer is as simple as:


$ docker volume create portainer_data 
$ docker run -d -p 9000:9000 -p 8000:8000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer

瞧,您现在可以通过访问

port 9000 on the server where Portainer is running.



一旦您访问 localhost:9000在浏览器中,您将需要创建管理员帐户,之后您将看到 Portainer ui

关于docker - Portainer 未正确加载,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58433630/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com