Unfortunately I am not able to dump configs in here so I will attempt to describe.
I have a docker compose file, when I do a docker up on it things work fine.
However, when I start it with docker stack deploy --compose-file {the file that worked}
I am not able to access the service via "localhost" in Chrome. I can however with Firefox. I noticed that in Chrome I was able to access it with "127.0.0.1". I tried disabling ipv6 on my host machine, and that allowed me to use "localhost" in Chrome. I later did more testing with curl forcing ipv4 and ipv6.
It looks like Chrome is using my ipv6 local address when resolving "localhost" if ipv6 is enabled, and this seems to cause issues when using docker swarm in particular.
Any thoughts on getting docker swarm to work with ipv6? Thank you!
Edit: The stack works on OSX and I can use curl -6 localhost:port
successfully unlike on linux.
Edit2: docker swarm ipv6 just seems broken https://github.com/moby/moby/issues/24379