问题
I have installed Docker for Windows on which I have running Nexus Repository Manager container. Now I want to make my nexus container be accessible from other pc's located in internal network.
How to do it?
回答1:
You have to map the port to the container. Example for port 443:
docker run -d -p 443:443 $imagename$
You also have to make sure that your windows firewall is not blocking that port. Maybe you have to create a new rule.
BR Hannes
来源:https://stackoverflow.com/questions/52003431/docker-for-windows-access-container-in-local-network