windowsdockerdocker-compose

Docker endpoint for "default" not found


I did clone a project and in the first step when I tried to start the container, I did run windows CMD in my project root and I type this command:

docker-compose up --build

and this message is shown to me:

docker endpoint for "default" not found.

I'll be more than happy if somebody helps me. When I write this command for the first time I had an internet problem it got paused, in second time started to download something then this message printed.

I tried to delete my old Containers, also I try with my VPN on and off, and restart docker in PowerShell.


Solution

  • For Windows Users

    1. Delete .docker directory. Which exists on PATH C:\Users\your-username\.docker
    2. Restart docker.