The docker container is running on a system which is ipv6 enabled.
When the docker container executes ping -6 2001:4860:4860::8888
100% of the packets are lost.
ping 8.8.8.8
works fine.
I added this to daemon.json
:
{
"ipv6": true,
"fixed-cidr-v6": "2003:e1:bbe7:500:8000::/65"
}
This is the assigned ipv6 address from the container:
2003:e1:bbe7:500:8000:242:ac11:2/65
While this is the main os ipv6 address:
2003:e1:bbe7:500:b237:dea4:d9e4:e05f
Added the ip to docker0 interface:
4: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:3c:d3:aa:fc brd ff:ff:ff:ff:ff:ff
inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
valid_lft forever preferred_lft forever
inet6 2003:e1:bbe7:500:8000::1/65 scope global
valid_lft forever preferred_lft forever
What I tried so far:
- successfully accessed the google dns from a ipv6 enabled VM (thats why I'd guess its a docker related issue, not firewall related)
Comments
Post a Comment