How can I forward localhost port on my container to localhost on my host?
So the way you need to think about this is that Docker containers have their own network stack (unless you explicitly tell it to share the host’s stack with –net=host). This means ports need to be exposed both inside the docker container and also on the outside (documentation), when linked with host ports. The ports … Read more