Docker端口映射后无法访问解决方法
问题
docker运行容器后 无法访问靶机
原因
各种调试发现网卡少了个docker0
解决方法
重建docker0网卡
service docker stop
pkill docker
ifconfig docker0 down
brctl delbr docker0
service docker startdocker运行容器后 无法访问靶机
各种调试发现网卡少了个docker0
重建docker0网卡
service docker stop
pkill docker
ifconfig docker0 down
brctl delbr docker0
service docker start