进入docker 后没有网络,怎么解决
来源:3-5 构建自己的Docker镜像
一叶遮天
2020-06-23
进入容器后没有网络
写回答
3回答
-
起航Go
2020-10-14
怎么解决的呢?
012020-10-16 -
麦兜搞IT
2020-07-08
From the docker host, we can see:
$ sudo iptables --list -t nat Chain PREROUTING (policy ACCEPT)target prot opt source destination DOCKER all -- anywhere anywhere ADDRTYPE match dst-type LOCAL Chain INPUT (policy ACCEPT)target prot opt source destination Chain OUTPUT (policy ACCEPT)target prot opt source destination DOCKER all -- anywhere !loopback/8 ADDRTYPE match dst-type LOCAL Chain POSTROUTING (policy ACCEPT)target prot opt source destination MASQUERADE all -- 172.17.0.0/16 anywhere Chain DOCKER (2 references)target prot opt source destination RETURN all -- anywhere anywhere
应该有类似的NAT规则
00 -
麦兜搞IT
2020-06-25
请问您在什么环境里使用docker呢?能详细说一下么
052021-01-19
相似问题