Forward host port to docker container
A simple but relatively insecure way would be to use the –net=host option to docker run. This option makes it so that the container uses the networking stack of the host. Then you can connect to services running on the host simply by using “localhost” as the hostname. This is easier to configure because you … Read more