Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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?

like image 310
bruna_dosti Avatar asked Jun 09 '19 13:06

bruna_dosti


People also ask

How do I delete a docker network?

To remove a network, you must first disconnect any containers connected to it. To remove the network named 'my-network': $ docker network rm my-network To delete multiple networks in a single docker network rm command, provide multiple network names or ids.

Does active have endpoints?

You may receive an error message that says the network has active endpoints. That means that the network is currently in use by containers. You need to remove the containers that are using the network before you can remove the network.

What Docker compose up does?

The docker compose up command aggregates the output of each container (like docker compose logs --follow does). When the command exits, all containers are stopped. Running docker compose up --detach starts the containers in the background and leaves them running.


2 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)

like image 76
thoroc Avatar answered Sep 16 '22 11:09

thoroc


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

like image 30
Hamid Shariati Avatar answered Sep 17 '22 11:09

Hamid Shariati