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
Original ip6 is not passed to containers #44408
Comments
You did not enable If you have trouble resolving this still, see detailed example here. It should explain things, along with a good reproducible example. If your containers instead assigned IPv6 GUA addresses from the host However there is various other issues external of docker that can affect the reliability and access of containers using IPv6 GUA, vs the IPv6 ULA subnet you've used that is akin to the IPv4 container network, both using private IP address range with NAT to public IP on another interface. |
Thank you. I will try Setting the |
@Likqez Did the |
I can report, that adding the For people wondering, My working daemon.json:
Thank you, for your help <3 |
Description
The Docker
bridge
network does not provide the real IP address (or X-FORWARED-FOR header) to the container when connecting via ipv6.Reproduce
docker run -p 8080:80 --name nginx-text nginx
curl http://host:8080
from same and different host using v4curl http://host:8080
from same and different host using v6Expected behavior
See the real origin-v6-address in the logs, just like the v4s do.
docker version
docker info
Additional Info
My result from accessing via v4 and v6 from diffrent hosts:
fd00:c0de::1
is the v6 gateway of thebridge
networkThe text was updated successfully, but these errors were encountered: