Docker Community Forums

Share and learn in the Docker community.

[Beginner] [Centos] Network connection doesn't work

Hi,

I have followed this tutorial for Running CentOS in a Docker container. I have built it successfully. I created 2 images, Centos-1 , Centos-2.

My issue is that Macos can’t ping Centos-1 and Centos-2, but Centos-1 and Centos-2 ping each other. I think this issue is caused by Docker, so what exactly am I having?

Thank you very much