Search code examples
windowsdockernetwork-programmingnexus3

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?


Solution

  • 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