Docker轻量级可视化工具Portainer

0 阅读1分钟

参考

www.bilibili.com/video/BV1gr…

官网:www.portainer.io/

使用docker安装Portainer

docker run -d -p 8000:8000 -p 9000:9000 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /home/portainer_data:/data portainer/portainer-ce:latest

查看portainer启动日志

root@td1:~/x/logs# docker logs -f portainer
level=info msg="2024/12/25 08:45:20 [INFO] [internal,ssl] [message: no cert files found, generating self signed ssl certificates]"
2024/12/25 08:45:20 server: Reverse tunnelling enabled
2024/12/25 08:45:20 server: Fingerprint 0b:d1:ab:e1:76:dd:b7:da:3d:90:93:e5:cb:39:94:15
2024/12/25 08:45:20 server: Listening on 0.0.0.0:8000...
level=info msg="2024/12/25 08:45:20 [INFO] [cmd,main] Starting Portainer version 2.11.0"
level=info msg="2024/12/25 08:45:20 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"
level=info msg="2024/12/25 08:45:20 [DEBUG] [internal,init] [message: start initialization monitor ]"
level=info msg="2024/12/25 08:45:20 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
level=info msg="2024/12/25 08:45:20 [INFO] [http,server] [message: starting HTTP server on port :9000]"

web浏览器访问Portainer

http://139.196.23.173:9000/

image.png