-
Notifications
You must be signed in to change notification settings - Fork 289
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
wrong mount path in WSL for Docker Desktop installed in Program Files #13318
Comments
I found this issue when I was troubleshooting snap command and utilities installed with snap. any command gives me something like this:
Small reverse engineering results lead here: Indeed - the error is raised in a thirdparty tool snap. But the fact that mount info contains invalid entry - this is not good and controlled on the docker desktop side. |
Ok - I just reinstalled to C:\Docker and now I have this:
So my suggestion was correct. Right after this snap started working properly |
wow great work! I had the same problem and your suggestion fixed it. for anyone else who finds this, I used CMD to run the following command to install to C:\Docker for some reason the powershell script given on documentation is not accepting arguments |
Additionally I've also created a proposal #13319 to support propagating location from winget |
The above is a nice workaround, but ideally it should be fixed upstream. |
for whatever reason, the problem is getting worse. I can no longer use the CMD hack to choose an install location. I am considering starting a whole new issue for just this problem but for now I will keep it here. fwiw here is the log from when I tried (and failed) installing to C:\Docker using CMD (the powershell script as noted earlier still fails to accept arguments altogether)
|
@kindtek i just noticed that you used installation-dir and it should be --installation-dir =) |
Since goreleaser version Is there any updates from the Docker Desktop team regarding this issue and its potential resolution? |
Is this being worked on? |
I'd be interested in that too |
Me too |
+1 |
It sounds like this could be an issue with the WSL integration feature of Docker Desktop? I wonder if it makes sense to run the docker daemon directly in a WSL distro iof using Docker Desktop... |
I'm just curious will use of |
I briefly looked into this, and the suggestion by @seppestas works: installing docker in WSL directly works, but it prevents GPU integration from working. To get this to work with the latest (June 2023) version of Docker Desktop is simple. In an elevated (Administrator) PowerShell, run the command: Start-Process "Docker Desktop Installer.exe" -Verb RunAs -Wait -ArgumentList "install --installation-dir=C:\Docker\" This is essentially what @kindtek did, but in PowerShell. |
The following solves the issue " will retry in 3 mins: incorrect number of tail fields, expected 3 but found 4" on Windows (caused by Docker Desktop actually):
|
How is this still broken and still an issue ? |
doesn't fix it for me unfortunately. |
|
Still having problem in |
Just reinstall Docker to a path like c:\docker or anything else without a space in the name and you will forget about this issue forever. So far it doesn't seem that Docker team is working on solving this issue |
Any update on this? Still bites me in November. |
Followed his way and it has worked well |
But we install Docker Desktop via winget and that is not an option. It should be the default. |
@RobCannon - You should be able to install with:
References: |
This solved my issues |
Actual behavior
With docker Desktop for Windows installed I go to WSL and run there
mount
commandAmong all mounts I will a line there:
This is wrong mapping
Expected behavior
This command should return full path. I expect that space should be escaped somehow in wsl for docker path
Information
The text was updated successfully, but these errors were encountered: