简体   繁体   中英

Docker for Windows - access container in local network

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM