Open zamanh opened 1 month ago
Getting the same even when downgrading to the version before this.
Also now being greeted with on any version of Docker I install. The diagnostics returns
however I am definitely in the docker-users group so I am quite broken at the moment.
When I check the docker
command, I see /usr/bin/docker -> /mnt/wsl/docker-desktop/cli-tools/usr/bin/docker
, but /mnt/wsl/docker-desktop/cli-tools/
is empty, I think it should be this data loss, how to fixed?
I downgraded to 4.27.2 and got my install working again. I tried 4.30.0 and is also didn't work.
I downgraded to 4.27.2 and got my install working again. I tried 4.30.0 and is also didn't work.
Did not work for me, still getting the same result as below:
Also now being greeted with on any version of Docker I install. The diagnostics returns
however I am definitely in the docker-users group so I am quite broken at the moment.
I attempted to install 24.04 LTS from the MS Store and Docker Desktop, the latest version will work straight out the box with that after turning it on in Docker Desktop settings. Not quite sure why it's still not talking to my current Ubuntu 22.04 install. I did notice a difference below:
which docker
on my broken WSL system gives path => /Docker/host/bin/docker
On the new installation it gives path => /usr/bin/docker
Same problem here. Added a comment with all info here: https://github.com/docker/for-win/issues/14127#issuecomment-2235639822
It looks the following logs part is related:
[2024-07-18T07:03:51.299363100Z] [07:03:51.299363100Z][main.wslintegration ] starting distro watcher
[2024-07-18T07:03:51.388821500Z] [07:03:51.388821500Z][main.wslintegration ] current active agents before sync: 0
[2024-07-18T07:03:51.388821500Z] [07:03:51.388821500Z][main.wslintegration ] active agents: 0
[2024-07-18T07:03:51.388821500Z] [07:03:51.388821500Z][main.wslintegration ] adding a wsl agent for new distro Ubuntu
[2024-07-18T07:03:51.388821500Z] [07:03:51.388821500Z][main.ipc ] 8cbfa694-wslintegrationagent-Ubuntu -> \\.\pipe\dockerWSLCrossDistroService CrossDistroService
[2024-07-18T07:03:51.388821500Z] [07:03:51.388821500Z][main.wslintegration ] done syncing agents
[2024-07-18T07:03:51.388821500Z] [07:03:51.388821500Z][main.wsldistroproxy ] start wsl integration for distro Ubuntu
[2024-07-18T07:03:51.498942600Z] [07:03:51.498942600Z][main.wsldistroproxy ] Configuring docker credstore to use desktop.exe
[2024-07-18T07:03:51.500505700Z] [07:03:51.500505700Z][main.wsldistroproxy ] credsStore already set to desktop.exe
[2024-07-18T07:03:51.500505700Z] [07:03:51.500505700Z][main.wsldistroproxy ] wsl.exe -d Ubuntu -e whoami
[2024-07-18T07:03:51.641077200Z] [07:03:51.641077200Z][main.wsldistroproxy ] wsl.exe -d Ubuntu -u root -e sh -c ( addgroup docker || true ) && addgroup "dmitrybalabka" docker
[2024-07-18T07:03:51.813586900Z] [07:03:51.813586900Z][main.wsldistroproxy ] wsl.exe -d Ubuntu -e cat /etc/wsl.conf
[2024-07-18T07:03:51.946888500Z] [07:03:51.946888500Z][main.wsldistroproxy ] wsl.exe -d Ubuntu -e cat /etc/wsl.conf
[2024-07-18T07:03:52.005455100Z] [07:03:52.005455100Z][main.segment ] flushing 1 messages
[2024-07-18T07:03:52.078111400Z] [07:03:52.078111400Z][main.wsldistroproxy ] wsl.exe -d Ubuntu -e /mnt/wsl/docker-desktop/docker-desktop-user-distro sync-context-store /mnt/c/Users/dmitry.balabka/.docker/contexts
[2024-07-18T07:03:52.158497200Z] <3>WSL (1150) ERROR: CreateProcessCommon:500: execvpe(/mnt/wsl/docker-desktop/docker-desktop-user-distro) failed: Permission denied
[2024-07-18T07:03:52.180594100Z] [07:03:52.180594100Z][main.segment ] response 200 OK
[2024-07-18T07:03:52.212260800Z] [07:03:52.212260800Z][main.wsldistroproxy ][W] syncing context store in Ubuntu distro: cli contexts not resynced: exit status 1
[2024-07-18T07:03:52.212260800Z] [07:03:52.212260800Z][main.wsldistroproxy ] wsl.exe -d Ubuntu -e cat /etc/wsl.conf
[2024-07-18T07:03:52.348043100Z] [07:03:52.348043100Z][main.wsldistroproxy ] wsl.exe -d Ubuntu -e cat /etc/wsl.conf
[2024-07-18T07:03:52.479913900Z] [07:03:52.479913900Z][main.wsldistroproxy ] wsl.exe -d Ubuntu -e /mnt/wsl/docker-desktop/docker-desktop-user-distro sync-home-subdir /mnt/c/Users/dmitry.balabka/.aws
[2024-07-18T07:03:52.562342600Z] <3>WSL (1156) ERROR: CreateProcessCommon:500: execvpe(/mnt/wsl/docker-desktop/docker-desktop-user-distro) failed: Permission denied
[2024-07-18T07:03:52.612329600Z] [07:03:52.612329600Z][main.wsldistroproxy ][W] syncing ~/.aws in Ubuntu distro: path .aws not synced: exit status 1
[2024-07-18T07:03:52.612329600Z] [07:03:52.612329600Z][main.wsldistroproxy ] wsl.exe -d Ubuntu -e cat /etc/wsl.conf
[2024-07-18T07:03:52.748277700Z] [07:03:52.748277700Z][main.wsldistroproxy ] wsl.exe -d Ubuntu -e cat /etc/wsl.conf
[2024-07-18T07:03:52.969548100Z] [07:03:52.969548100Z][main.wsldistroproxy ] wsl.exe -d Ubuntu -e /mnt/wsl/docker-desktop/docker-desktop-user-distro sync-home-subdir /mnt/c/Users/dmitry.balabka/.azure
[2024-07-18T07:03:53.074502900Z] <3>WSL (1162) ERROR: CreateProcessCommon:500: execvpe(/mnt/wsl/docker-desktop/docker-desktop-user-distro) failed: Permission denied
[2024-07-18T07:03:53.139206900Z] [07:03:53.139206900Z][main.wsldistroproxy ][W] syncing ~/.azure in Ubuntu distro: path .azure not synced: exit status 1
[2024-07-18T07:03:53.139206900Z] [07:03:53.139206900Z][main.wsldistroproxy ] wsl.exe -d Ubuntu -e cat /etc/wsl.conf
[2024-07-18T07:03:53.275459000Z] [07:03:53.275459000Z][main.wsldistroproxy ] wsl.exe -d Ubuntu -e cat /etc/wsl.conf
[2024-07-18T07:03:53.413495600Z] [07:03:53.413495600Z][main.wsldistroproxy ] wsl.exe -d Ubuntu -e /mnt/wsl/docker-desktop/docker-desktop-user-distro sync-file /mnt/c/Users/dmitry.balabka/.docker/features.json ~/.docker/features.json
[2024-07-18T07:03:53.499023400Z] <3>WSL (1168) ERROR: CreateProcessCommon:500: execvpe(/mnt/wsl/docker-desktop/docker-desktop-user-distro) failed: Permission denied
[2024-07-18T07:03:53.551590100Z] [07:03:53.551590100Z][main.wsldistroproxy ][W] syncing ~/.docker/features.json in Ubuntu distro: syncing windows path /mnt/c/Users/dmitry.balabka/.docker/features.json to ~/.docker/features.json: exit status 1
[2024-07-18T07:03:53.551590100Z] [07:03:53.551590100Z][main.wsldistroproxy ] Killing CLI API server running at /home/dmitrybalabka/.docker/run/docker-cli-api.sock
[2024-07-18T07:03:53.565810600Z] [07:03:53.565282400Z][main.wsldistroproxy ] Starting WSL Distro proxy
[2024-07-18T07:03:53.565810600Z] [07:03:53.565810600Z][main.wsldistroproxy ] wsl.exe -d Ubuntu -e cat /etc/wsl.conf
[2024-07-18T07:03:53.709711700Z] [07:03:53.709711700Z][main.wsldistroproxy ] wsl.exe -d Ubuntu -u root -e /mnt/wsl/docker-desktop/docker-desktop-user-distro proxy --distro-name Ubuntu --docker-desktop-root /mnt/wsl/docker-desktop C:\Program Files\Docker\Docker\resources
[2024-07-18T07:03:53.794320100Z] <3>WSL (1174) ERROR: CreateProcessCommon:500: execvpe(/mnt/wsl/docker-desktop/docker-desktop-user-distro) failed: Permission denied
[2024-07-18T07:03:53.846179200Z] [07:03:53.846179200Z][main.wslintegration ] distro agent Ubuntu exited unexpectedly: running wsl distro proxy in Ubuntu distro: exit status 1
[2024-07-18T07:03:53.846179200Z] [07:03:53.846179200Z][main.wslintegration ] attempting recovery from agent Ubuntu error: running wsl distro proxy in Ubuntu distro: exit status 1
[2024-07-18T07:03:53.846179200Z] [07:03:53.846179200Z][main.report ] reporting error to user: running wsl distro proxy in Ubuntu distro: exit status 1
[2024-07-18T07:03:53.846698100Z] [07:03:53.846698100Z][main.report ] error server listening on \\.\pipe\errorReporter
[2024-07-18T07:03:53.846698100Z] [07:03:53.846698100Z][main.ipc ] run c5b7f84a-ErrorReportAPI for component report on \\.\pipe\errorReporter
[2024-07-18T07:03:54.650050900Z] [07:03:54.649310100Z][main.ipc ] (b770baeb) 69684cf6-BackendAPI S<-C Docker-Desktop/4.32.0 (Windows; x64) GET /app/settings
[2024-07-18T07:03:54.650555900Z] [07:03:54.649815500Z][main.daemonconfigloader] get daemon config: {"builder":{"gc":{"defaultKeepStorage":"20GB","enabled":true}},"experimental":false}
Not sure if it is related or not, but file requested by a command:
wsl.exe -d Ubuntu -e /mnt/wsl/docker-desktop/docker-desktop-user-distro sync-context-store /mnt/c/Users/dmitry.balabka/.docker/contexts
only accessible by root:
❯ ll /mnt/wsl/docker-desktop/docker-desktop-user-distro
-rw-r--r-- 1 root root 0 Jul 18 10:02 /mnt/wsl/docker-desktop/docker-desktop-user-distro
/mnt/c/Users/dmitry.balabka/AppData/Local/Docker/log ·················································································································································· 10:12:29
❯ /mnt/wsl/docker-desktop/docker-desktop-user-distro
zsh: permission denied: /mnt/wsl/docker-desktop/docker-desktop-user-distro
While direct access to command works:
wsl -d docker-desktop -e /docker-desktop-user-distro
After facing this issue for a while, I managed to solve it by updating wsl
@erikyo, I'm using the latest version. Could you please provide the version you have?
wsl --version
WSL version: 2.3.11.0
Kernel version: 6.6.36.3-1
WSLg version: 1.0.63
MSRDC version: 1.2.5326
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26120.1252
this one
wsl --version
WSL version: 2.2.4.0
Kernel version: 5.15.153.1-2
WSLg version: 1.0.61
MSRDC version: 1.2.5326
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26091.1-240325-1447.ge-release
Windows version: 10.0.22635.3930
@erikyo , so you have an older version. Probably, the problem is connected with newer version of WSL
Probably, connected issue: https://github.com/microsoft/WSL/issues/11794
v 2.3.11.0 seems to be a pre-release version... maybe something is wrong there. not sure, just guessing!
I ran into the same issue after Windows Update updated WSL to 2.3.11.
Rollback to 2.2.4
helped me:
https://github.com/microsoft/WSL/issues/11794#issuecomment-2235255851
Rollback to
2.2.4
helped me: microsoft/WSL#11794 (comment)
I am still on:
WSL version: 2.2.4.0
Kernel version: 5.15.153.1-2
WSLg version: 1.0.61
MSRDC version: 1.2.5326
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26091.1-240325-1447.ge-release
Windows version: 10.0.22631.3880
Rollback to
2.2.4
helped me: microsoft/WSL#11794 (comment)I am still on:
WSL version: 2.2.4.0 Kernel version: 5.15.153.1-2 WSLg version: 1.0.61 MSRDC version: 1.2.5326 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.26091.1-240325-1447.ge-release Windows version: 10.0.22631.3880
What docker version are you running? Downgrading 4.32.x to 4.30.0 and downgrading WSL to 2.2.4 worked for me
Rollback to
2.2.4
helped me: microsoft/WSL#11794 (comment)I am still on:
WSL version: 2.2.4.0 Kernel version: 5.15.153.1-2 WSLg version: 1.0.61 MSRDC version: 1.2.5326 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.26091.1-240325-1447.ge-release Windows version: 10.0.22631.3880
What docker version are you running? Downgrading 4.32.x to 4.30.0 and downgrading WSL to 2.2.4 worked for me
I've tried so many versions, still getting the same result as shown here: https://github.com/docker/for-win/issues/14187#issuecomment-2223035834 I don't think I have this issue exactly now, but it must be something specific to my WSL install which hasn't resolved. If I install a new distro e.g. Ubuntu 24.04 from the MS Store. I have no issues with the latest Docker and WSL.
same error, but after restarting and manually restarting the "docker desktop service" it did work again.
wsl --version
WSL-Version: 2.3.11.0
Kernelversion: 6.6.36.3-1
WSLg-Version: 1.0.63
MSRDC-Version: 1.2.5326
Direct3D-Version: 1.611.1-81528511
DXCore-Version: 10.0.26100.1-240331-1435.ge-release
Windows-Version: 10.0.26120.1252
> docker --version
Docker version 27.0.3, build 7d4bcd8
> which docker
C:\Program Files\Docker\Docker\resources\bin\docker
si@m:~$ uname -r
6.6.36.3-microsoft-standard-WSL2
si@m:~$ which docker
/usr/bin/docker
si@m:~$ docker -v
Docker version 27.0.3, build 7d4bcd8
si@m:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 23.04
Release: 23.04
Codename: lunar
edit: 24.07 correction. stoped working today. didnt change a thing. back to the belover error
After facing this issue for a while, I managed to solve it by updating wsl
I tried that as one of my first troubleshooting steps, and it didn't fix it for me.
Here's my version:
WSL version: 2.2.4.0
Kernel version: 5.15.153.1-2
WSLg version: 1.0.61
MSRDC version: 1.2.5326
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26091.1-240325-1447.ge-release
Windows version: 10.0.22631.3880
I was experiencing the same issues after recent updates. Not sure what the root cause was, but updating to Ubuntu 24.04 using the command winget install 9NZ3KLHXDJP5
seemed to do the trick for now.
Just to add, downgrading to WSL to 2.2.4.0 fixed the issue for me as well. As soon as I did that I noticed the /mnt/wsl/docker-desktop/cli-tools/
once again had the directories it should.
As a side note, make sure to download the msi
file for your architecture, not the msixbundle
. The latter one does not downgrade your installation, it only reinstalls the latest.
Cheers!
same here, downgrading WSL to 2.2.4.0 fixed the problem immediately
I attempted to actually not use Docker Desktop and install Docker natively into my WSL Ubuntu. This was working. I then removed Docker from Ubuntu. Re-enabled Docker Desktop by turning back on the integration with WSL2 and it appears to be working.
I was experiencing the same issues after recent updates. Not sure what the root cause was, but updating to Ubuntu 24.04 using the command
winget install 9NZ3KLHXDJP5
seemed to do the trick for now.
Thanks, that solved it for me.
I was experiencing the same issues after recent updates. Not sure what the root cause was, but updating to Ubuntu 24.04 using the command
winget install 9NZ3KLHXDJP5
seemed to do the trick for now.
That worked for me for about a day. Going to try downgrading WSL next to see if that resolves it.
I was experiencing the same issues after recent updates. Not sure what the root cause was, but updating to Ubuntu 24.04 using the command
winget install 9NZ3KLHXDJP5
seemed to do the trick for now.That worked for me for about a day. Going to try downgrading WSL next to see if that resolves it.
It didn't start for me today again. I've got inspired by this answer: https://stackoverflow.com/questions/71644746/docker-wsl-2-integration-with-distro-ubuntu-20-04-unexpectedly-stopped-with-exi Have removed duplicities in my Path system variable. There were duplicities c:\Windows\System32 and c:\WINDOWS\System32. I've removed those with upper case WINDOWS. The Docker Desktop started then. On my system WSL is still 2.3.11 and Docker Desktop is 4.32.0
Broken again after a week like https://github.com/docker/for-win/issues/14187#issuecomment-2223035834, reverted back to using Docker in WSL installed natively. Latest v4.33.0 doesn't solve it either.
I have the same issue with v4.32.0.
DistributionName is properly set.
Sometimes restaring the docker-desktop helps. Sometimes it does not.
Docker Desktop 4.33: Failure Docker Desktop 4.32: Failure Docker Desktop 4.31.1: Failure
Docker Desktop 4.29: Works
WSL version: 2.2.4.0 Kernel version: 5.15.153.1-2 WSLg version: 1.0.61 MSRDC version: 1.2.5326 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.26091.1-240325-1447.ge-release Windows version: 10.0.22631.3880
My version is 4.33.1 (161083)
This morning I started getting this error, but everything was fine yesterday
running wsl distro proxy in Ubuntu-22.04 distro: exit status 1
Diagnostics ID: E851595D-C4B6-4F36-BA0E-F9752D8D433D/20240822213920
Description
After upgrading docker desktop I get
Reproduce
Upgrade from 4.31.1
Expected behavior
Should just work with no error
docker version
docker info
Diagnostics ID
A98290E6-3CC9-416B-8FCE-40023244C402/20240711083753
Additional Info
No response