ERROR: Pool overlaps with other one on this address space when starting my_project docker setup

Viewed 38652

I'm trying to setup docker and I`m getting the following error:

ERROR: Pool overlaps with other one on this address space

What should I do to solve it,please?

4 Answers

Could you provide us with the command you have run as well as your docker-compose.yml file please?

The error you are encountering is suggesting you have a network address conflict. To check that you could run: docker network ls to list all the docker network running currently on your machine.

Once you have identified the culprit you should be able to remove it with the following command: docker network rm my_network (where my_network is the one you have created initially)

if you don't mind delete all docker networks, you could run

docker network rm $(docker network ls -q)

remove one or more network in the result of docker network ls with docker network rm ID

docker network prune

Worked for me.

Related