宿主机器可以访问的外部接口,容器内部无法访问

重启docker服务即可

service docker restart
原文地址:https://www.cnblogs.com/mrnx2004/p/13201599.html