Docker Community Forums

Share and learn in the Docker community.

Not able to connect docker container from host

beta
docker

(Ashishheda) #1

Hi, I am trying to connect container from my window 10 host but it’s showing destination host in unreachable.

I added route 172.17.0.0 MASK 255.255.0.0 10.0.75.2.

I am able to ping host IP from docker container but not able to ping from host to container.


(Michael Friis) #2

Do you have more details on your environment? If you’re running containers on Windows 10 directly, you can access apps in them using the container IP:

docker inspect -f "{{ .NetworkSettings.Networks.nat.IPAddress }}" <container-name-or-id>

(Ashishheda) #3


(Ashishheda) #4


(Ashishheda) #5


(Ashishheda) #6