Docker调用接口错误No route to host (Host unreachable)

Docker调用接口错误No route to host (Host unreachable)

Docker调用接口错误No route to host (Host unreachable)_第1张图片

按照顺序依次执行下面命令:


nmcli connection modify docker0 connection.zone trusted
systemctl stop NetworkManager.service
firewall-cmd --permanent --zone=trusted --change-interface=docker0
systemctl start NetworkManager.service
nmcli connection modify docker0 connection.zone trusted

systemctl restart docker.service

你可能感兴趣的:(运维)