Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Seynabou-Diop opened this issue Feb 8, 2024 · 2 comments
Closed

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

Seynabou-Diop opened this issue Feb 8, 2024 · 2 comments

Comments

@Seynabou-Diop
Copy link

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:

  1. Ensured Docker Desktop is running on Windows.
  2. Attempted connection using tcp://localhost:2375 from WSL.
  3. 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.

Copy link

github-actions bot commented Feb 8, 2024

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@OneBlue
Copy link
Collaborator

OneBlue commented Feb 13, 2024

@Seynabou-Diop: Connecting to a docker daemon running on the host is not something that's officially supported directly by WSL. I recommend raising this directly with docker

@OneBlue OneBlue closed this as completed Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants