Docker Community Forums

Share and learn in the Docker community.

Unix Docker Container not communicative other windows docker container ( network issues)

Dear All,
I created a Docker image in ubunto with dockerfile (FROM FROM updateubunto16.04 …etc) and entered its container with generated IP 172.17.02

After that I created new Docker Image in Windows with dockerfile( FROM FROM microsoft/aspnet …etc) and then entered it container its generated IP ( 192.168.65.161) Now I am not able to ping 172.17.0.02 container from 192.168.65.161 container.

I tried following action on unix also
sudo iptables -P FORWARD ACCEPT, checked
sudo journalctl -r -u docker checked,
sudo iptables -L -n,
Even tried with my own created network but communication not occurring between two containers.

I also tries with deamon.json in docker but issue with docker service ( start fails).

What is proper solution , step guidance to enable comminication between containers.

Thanks
Manoj Kumar