docker run -p 127.0.0.1:80:80 ...
But with an IPv6 address? Which address would I use?
Although I don't know at what point that will test your application. I guess it will at least make sure that it can handle IPs such as "::1".
docker run -p [::1]:80:80 ..
wget 'http://[::1]:80'
so you are already testing it :)
I get the same result when I run "ncat -6 -lp 80" inside the container and try to wget from the outside.
When I do the wget inside the container, I get "Connecting to [::1]:80... failed: Cannot assign requested address.".
As I said, reading around the net about "docker ipv6", it seems Docker is not IPv6 ready out of the box.
docker run -p 127.0.0.1:80:80 ...
But with an IPv6 address? Which address would I use?