我正在使用 docker,所以我通过这个命令行使用了 rancher/serverdocker run -d --restart=always -p 8080:8080 rancher/server
我检查了 docker 容器(docker ps -a
)我发现了这个:
dc191cba6ce8 rancher/server "/usr/bin/s6-svscan /" 10 minutes ago Up 27 seconds 3306/tcp, 0.0.0.0:8080->8080/tcp naughty_almeida
iptables 内容:
Chain ufw-user-input (1 references)
target prot opt source destination
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:8080
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:8080
看起来不错,但我无法访问牧场主 ui 页面:
http://IP:8080
码头工人日志 dc191cba6ce8 :
2016-07-19 17:58:55,936 INFO [main] [ConsoleStatus] [1/32] [0ms] [0ms] Loading bootstrap
2016-07-19 17:58:56,267 INFO [main] [ConsoleStatus] [2/32] [330ms] [329ms] Loading config-defaults
2016-07-19 17:59:09,243 INFO [main] [ConsoleStatus] [3/32] [13307ms] [12976ms] Loading system
2016-07-19 17:59:09,410 INFO [main] [ConsoleStatus] [4/32] [13474ms] [166ms] Loading defaults
2016-07-19 17:59:10,482 INFO [main] [ConsoleStatus] [5/32] [14546ms] [1072ms] Loading types
2016-07-19 17:59:21,385 INFO [main] [ConsoleStatus] [6/32] [25449ms] [10902ms] Loading system-services
2016-07-19 17:59:22,058 INFO [main] [ConsoleStatus] [7/32] [26122ms] [673ms] Loading agent-server
2016-07-19 17:59:22,794 INFO [main] [ConsoleStatus] [8/32] [26858ms] [736ms] Loading allocator-server