docker / getting-started

Getting started with Docker
Apache License 2.0
2.91k stars 6.4k forks source link

Connection Issue from WSL to Docker Desktop Daemon on Windows #429

Open Seynabou-Diop opened 8 months ago

Seynabou-Diop commented 8 months ago

I am experiencing difficulties establishing a connection with the Docker Desktop daemon on Windows from WSL (Windows Subsystem for Linux). I attempted to connect using the address tcp://localhost:2375, but encountered the following error:

docker -H tcp://localhost:2375 version
Cannot connect to the Docker daemon at tcp://localhost:2375. Is the docker daemon running?

Steps Taken: Ensured Docker Desktop is running on Windows. Attempted connection using tcp://localhost:2375 from WSL. Received the mentioned error indicating a failure to connect to the Docker daemon. I would appreciate any guidance or insights on resolving this connectivity issue between WSL and Docker Desktop on Windows.