Docker Community Forums

Share and learn in the Docker community.

Cannot use container's bridge network IP address in

Prior to I was able to rely on the IP address listed in docker inspect. The following example worked fine prior to this past update:

> docker run --name=nginx -d -p8080:80 nginx
> docker inspect nginx | jq '.[0].NetworkSettings.IPAddress'
# Attempt to curl nginx on port 8080 via IP address in docker inspect
> curl

However with, I can’t even connect to this IP address. Note that I can still reach localhost:8080, but I cannot through the bridge network.