-
Notifications
You must be signed in to change notification settings - Fork 50
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
Issue with swarm mode using docker_gwbridge bridge #64
Comments
Hi @quentindavid, sorry you're running into issues. I don't use swarm mode myself. Perhaps @Chrislevi, who wrote the swarm mode instructions in the README, knows something about this? |
Hi @robbertkl , thanks for answering this fast ! Thanks again :) |
Yeah, the code is listening for Docker events, so it should see any container being connected to a network. |
Ok then I don't understand why it's missing the containers connected within swarm. Maybe @Chrislevi is able to help ? |
Hi @Chrislevi, I am facing the same issue too. I am trying to migrade away from docker default bridge to docker_gwbridge that we get when we have swarm network. When I am connected to docker_gwbridge (swarm network)... I see the packets reaching the VM and then forwarded to the container using IPv4 address of the docker_gwbridge in the VM instead of the source IPv6 address retained in the packet. Any pointers to debug this. These are the options in the docker_gwbridge network (as seen from docker network inspect docker_gwbridge command)
docker logs for ipv6nat in debug mode has following output:
|
Hi ! Thanks a lot for your work, very surprising now in end-2020 we still have to fight in order to have in a consistent behaviour between IPV4 and IPV6 within docker..
So, I followed your documentation, and it works well for containers sitting in docker, I can see the rules added in the debug mode. Now I try to use it with swarm mode, so I enabled IPV6 on docker_gwbridge :
And then I launched the container :
Now I can see the container is able to see the network docker_gwbridge because I see this in the container logs:
But I cannot see any automatic rule like I see for simple containers. If I do manually this (fdd0:4cab:5070:357f::5 is the IP of a container within a swarm stack):
then it works...so it seems there is an issue in order to detected the container when it's within a swarm.
Do someone know if I miss something ? IPV6 seems to be working fine, I am able to ping6 external IP from my containers, including those within the swarm.
Thanks again a lot !!
The text was updated successfully, but these errors were encountered: