rancher报错ERROR: http://192.168.200.8:8080/v1 is not accessible (Failed to connect to 192.168.200.8 p

报错前

INFO: Running Agent Registration Process, CATTLE_URL=http://192.168.200.8:8080/v1
INFO: Attempting to connect to: http://192.168.200.8:8080/v1
ERROR: http://192.168.200.8:8080/v1 is not accessible (Failed to connect to 192.168.200.8 port 8080: No route to host)
ERROR: http://192.168.200.8:8080/v1 is not accessible (Failed to connect to 192.168.200.8 port 8080: No route to host)

这个是由于防火墙未关引起的

systemctl stop firewalld

然后再次执行安装

INFO: Running Agent Registration Process, CATTLE_URL=http://192.168.200.8:8080/v1
INFO: Attempting to connect to: http://192.168.200.8:8080/v1
INFO: http://192.168.200.8:8080/v1 is accessible
INFO: Configured Host Registration URL info: CATTLE_URL=http://192.168.200.8:8080/v1 ENV_URL=http://192.168.200.8:8080/v1
INFO: Inspecting host capabilities
INFO: Boot2Docker: false
INFO: Host writable: true
INFO: Token: xxxxxxxx
INFO: Running registration
INFO: Printing Environment
INFO: ENV: CATTLE_ACCESS_KEY=603FAA52F81382ACB3F6
INFO: ENV: CATTLE_AGENT_IP=12.168.200.8
INFO: ENV: CATTLE_HOME=/var/lib/cattle
INFO: ENV: CATTLE_REGISTRATION_ACCESS_KEY=registrationToken
INFO: ENV: CATTLE_REGISTRATION_SECRET_KEY=xxxxxxx
INFO: ENV: CATTLE_SECRET_KEY=xxxxxxx
INFO: ENV: CATTLE_URL=http://192.168.200.8:8080/v1
INFO: ENV: DETECTED_CATTLE_AGENT_IP=172.17.0.1
INFO: ENV: RANCHER_AGENT_IMAGE=rancher/agent:v1.2.11

完美,走人

你可能感兴趣的:(docker,平台搭建,docker的学习笔记)