码头容器运行在VPS (ubuntu18.10)上。
我能做的What:
来自主机的ping -6 2001:4860:4860::8888
来自主机的ping -6
来自码头集装箱的ping -6
来自码头集装箱的ping 8.8.8.8
What我做不到:
来自码头集装箱的ping -6 2001:4860:4860::8888
当我执行上面的命令时,什么都不会发生。当我最终中止命令时,我得到了以下输出:
4 packets transmitted, 0 received, 100% packet loss, time 62ms码头容器有一个指定的ipv6地址。我到目前为止所做的事:
$ip -6 route add 2001:db8:1::/64 dev docker0
$ sysctl net.ipv6.conf.default.forwarding=1
$ sysctl net.ipv6.conf.all.forwarding=1如果你需要更多的信息,请告诉我。
发布于 2018-12-06 11:25:48
好的,只需使用以下解决方法就可以修复:https://github.com/robbertkl/docker-ipv6nat
https://serverfault.com/questions/943123
复制相似问题