0

I am currently getting familiar with Docker and one issue I have is launching several Docker containers on the same host machine. If I run 32 or less containers, everything works fine. However, if I start more containers, not only my host machine loses internet connection, but also the containers are not able anymore to communicate with each other.

After searching the web, this seems to be a common issue, but no solution worked for me yet. I tried setting up custom Docker network bridges as well as editing the /etc/docker/daemon.json file. In any case, if I run docker network inspect on the respective network, everything seems fine and each containers has its own IP address correctly assigned.

  • In most of the cases I've seen online, this happens when Docker assigns an address range to a network that conflicts with another network used elsewhere in your organization. There is no intrinsic 32-container limit, and many people successfully run many more containers than that. Your first step would be diagnosing *why* you lose internet connectivity. Start by looking at your route tables and make sure they look sane. – larsks Jan 06 '23 at 20:49

0 Answers0