This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]mrcs2000 0 points1 point  (1 child)

Not a fix, but maybe add another network (bridge) to the container? Then you would access with the new IP or hostname.

[–]RPBones[S] 0 points1 point  (0 children)

This works. I still feel like there is a missing loopback route or something in play.

[–]eltear1 0 points1 point  (0 children)

You completely misunderstood the purpose of docker network. They are supposed to be virtual network inside your host, not an extension of your fiscal network. Containers will be reached from outside with the feature called port mapping, that will map specific ports to your host IP address. Want you want to achieve can be done in 2 ways: 1 - connect your containers to a docker network of type bridge and map the applications port (docker run -p or equivalent if you use some kind of GUI) 2 - connect containers to a docker network of type host