Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

442
Views
ERROR: 2 matches found based on name: network <nameofservice>_default is ambiguous

I was building docker image using the command

docker-compose -f "docker-compose.yml" up -d --build 

But it returns me an error

ERROR: 2 matches found based on name: network officeconverter_default is ambiguous

This is a bit clear that in my machine there are two networks with the same name trying to exists.

Question is how to remove the networks from docker networks

PS E:\repos\Github\officeconverter> docker network ls
NETWORK ID          NAME                        DRIVER              SCOPE
868c88a83bd6        bridge                      bridge              local
92f7d20ed432        officeconverter_default     bridge              local
3f96cfb7b591        officeconverter_default     bridge              local

over 4 years ago · Santiago Trujillo
5 answers
Answer question

0

The solution is simple!

just remove the networks.

like docker network rm <network Id> <space> <network Id> ....

PS E:\repos\Github\officeconverter> docker network rm 92f7d20ed432 3f96cfb7b591
92f7d20ed432
3f96cfb7b591
PS E:\repos\Github\officeconverter> docker network ls
NETWORK ID          NAME                        DRIVER              SCOPE
868c88a83bd6        bridge                      bridge              local
over 4 years ago · Santiago Trujillo Report

0

A solution that worked for me is:

docker system prune -af
docker volume prune --force.

over 4 years ago · Santiago Trujillo Report

0

try: docker network prune

This will remove all your networks.

over 4 years ago · Santiago Trujillo Report

0

Just run docker remove prune it will remove all networks and create again.

over 4 years ago · Santiago Trujillo Report

0

Open cronjob with sudo cronjob -e, then, add new line

*/1 * * * * docker network prune -f

This will clean non-used networks (if any) every minute.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!