-
Notifications
You must be signed in to change notification settings - Fork 860
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
Symlinks to a unix socket are not handled properly #3910
Comments
Real symlinks or the fake junction kind? What does win32 |
The link is created within wsl, (with
can't run it in
|
Yeah sorry I could have been clearer. Something like (in
Note that's Or cutting to the chase, do you have Developer mode enabled in Settings->Update&Security->For developers. |
Running |
@therealkenc here is the
Can't see my link here. @Biswa96 this is not what I want to achieve. The goal is to expose the engines managed by Docker Desktop (either the windows docker engine, or the one running in our LinuxKit VM) both in the win32 world and wsl. We can workaround this by modifying user's |
That's weird. Look at |
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
Please fill out the below information:
ver
at a Windows Command Prompt)Microsoft Windows [Version 10.0.17763.348]
Now that Windows support Unix sockets and that golang 1.12 expose the feature, we are trying to improve WSL experience with Docker Desktop.
As part of that we have POC where Docker Desktop creates a Unix Socket in a win32 process in
C:\ProgramData\Docker\docker.sock
.From WSL, doing
docker -H unix://$(wslpath c:\\ProgramData\\Docker\\docker.sock) version
works properly. But if we create a symlink (likeln -s /var/run/docker.sock $(wslpath c:\\ProgramData\\Docker\\docker.sock)
) using this symlink withdocker -H /var/run/docker.sock version
does not work:Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Docker CLI should be able to connect to the UNIX socket trough the symlink
https://gist.github.com/simonferquel/7b2f123409b6f3e4b923d74758a28b12
The text was updated successfully, but these errors were encountered: