docker容器访问宿主机IP

宿主机执行ifconfig 
会看到docker0那个ip,可以使用来访问宿主机

猜你喜欢

转载自www.cnblogs.com/yanglei-xyz/p/10642300.html