Dear docker community,
I am running docker on windows.
I have a running container which Istarted with the command
docker run -it --network=host -p 80:80 opc-backend
However I cannot reach the webserver in this container, I get no response back when trying to reach localhost in my browser.
On the other hand it works when I issue the command
docker run -it -p 80:80 opc-backend (basically the same command but without --network=host)
…and I can see my webpage just fine on http://localhost
I would like to have all my ports exposed to my container with the first command as it works just fine on Linux
Any help would be appreciated.
Thank you in advance