New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IPv6 documentation wrong, causing Docker crash #36954
Comments
Another documentation page https://docs.docker.com/v17.09/engine/userguide/networking/default_network/ipv6/ that looks better (still wrong though, because |
May I ask whether this is an issue with the documentation or the software? |
there is any news about this problem??? we need IPv6 on Docker!!! plz fix this!! |
Why is this documentation still there to enable ipv6 when all it does is cause the docker service to not start? |
Up. I got this too. |
Is there any workaround for this? I just need my containers to be able to access ipv6 (outgoing). I don't need to route to my containers via ipv6 (incoming). |
For me it works using a fixed IPv6 address for my containers. |
@parsifallo Can you share your setup? what do you mean by fixed ipv6.. macvlan? |
Actually, I don't want to use fixed-cidr-v6. It's too complicated for me to configure the IPv6 address. |
I met this issue today, workaround it successfully by changing content of /etc/docker/daemon.json from
to
|
Faced the same issue. /etc/docker/daemon.json:
Setup forwarding and ip -6 route
enable MASQUERADE for outgoing packets: |
The directions are currently out of date; this comment in this docker issue helped me figure out how to resolve: moby/moby#36954 (comment) In short, when running Docker with systemd, it ignores command line flags, and only uses the JSON config file.
What to do if I have a real ipv6 subnet different from the host network? |
I ran into the same issue as everyone else here, got redirected to the documentation, followed it and greeted with a non-starting docker... I was trying to setup this: https://zerotier.atlassian.net/wiki/spaces/SD/pages/7274520/Using+NDP+Emulated+6PLANE+Addressing+With+Docker The only reason I want to enable IPv6 is inside a certain docker network - my internet doesn't have IPv6 and I don't/can't enable it |
@EgorDuplensky Using the documentation prefix |
Alkarex commentedApr 26, 2018
Reposting here the following issues:
Description
The IPv6 documentation on https://docs.docker.com/config/daemon/ipv6/ seems wrong, i.e. does not actually enable IPv6 and also prevents Docker from restarting.
See distribution/distribution#2526 for a description by another user ( @igarny ).
The bug seems to have been introduced by version 1.12.6
5e28d20
Steps to reproduce the issue:
/etc/docker/daemon.json
with content{ "ipv6": true }
sudo service docker restart
Describe the results you received:
Docker fails to restart. Crash on startup.
See distribution/distribution#2571 (comment) for more debug information from another user ( @jean-christophe-manciot ).
Describe the results you expected:
Docker restarting without crash, and IPv6 enabled.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Test on Virtualbox:
Test on Raspberry Pi:
Output of
docker info
:Test on Virtualbox:
Additional environment details (AWS, VirtualBox, physical, etc.):
Tested on Virtualbox and on Raspberry Pi.
The text was updated successfully, but these errors were encountered: