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

Docker desktop 4.36.0 fails to start with "more than one sd* disk in /sys/block" #14453

Closed
chris-riddell35 opened this issue Nov 28, 2024 · 60 comments

Comments

@chris-riddell35
Copy link

Description

Unable to start docker desktop version 4.36.0; I am consistently seeing the following error:

running engine: waiting for the Docker API: engine linux/wsl failed to run: starting WSL engine: error spotted in wslbootstrap log: "[2024-11-28T16:04:44.799442528Z][wsl-bootstrap][F] more than one sd* disk in /sys/block with wwid ending by 57de6aa93848de02790adcb4: /dev/sdb,/dev/sdd"

Reproduce

Start docker desktop

Expected behavior

Docker desktop should start successfully

docker version

Client:
 Version:           27.3.1
 API version:       1.47
 Go version:        go1.22.7
 Git commit:        ce12230
 Built:             Fri Sep 20 11:42:27 2024
 OS/Arch:           windows/amd64
 Context:           desktop-linux

docker info

Client:
 Version:    27.3.1
 Context:    desktop-linux
 Debug Mode: false
 Plugins:
  ai: Ask Gordon - Docker Agent (Docker Inc.)
    Version:  v0.1.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-ai.exe
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.18.0-desktop.2
    Path:     C:\Program Files\Docker\cli-plugins\docker-buildx.exe
  compose: Docker Compose (Docker Inc.)
    Version:  v2.30.3-desktop.1
    Path:     C:\Program Files\Docker\cli-plugins\docker-compose.exe
  debug: Get a shell into any image or container (Docker Inc.)
    Version:  0.0.37
    Path:     C:\Program Files\Docker\cli-plugins\docker-debug.exe
  desktop: Docker Desktop commands (Alpha) (Docker Inc.)
    Version:  v0.0.15
    Path:     C:\Program Files\Docker\cli-plugins\docker-desktop.exe
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.2
    Path:     C:\Program Files\Docker\cli-plugins\docker-dev.exe
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.27
    Path:     C:\Program Files\Docker\cli-plugins\docker-extension.exe
  feedback: Provide feedback, right in your terminal! (Docker Inc.)
    Version:  v1.0.5
    Path:     C:\Program Files\Docker\cli-plugins\docker-feedback.exe
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v1.4.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-init.exe
  sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
    Version:  0.6.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-sbom.exe
  scout: Docker Scout (Docker Inc.)
    Version:  v1.15.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-scout.exe

Server:
ERROR: Get "http://%2F%2F.%2Fpipe%2FdockerDesktopLinuxEngine/v1.47/info": context canceled
errors pretty printing info

Diagnostics ID

1AA58D3A-8AF2-493C-AEAF-41A589D2DF25/20241128162112

Additional Info

WSL version info:

wsl --version
WSL version: 2.3.26.0
Kernel version: 5.15.167.4-1
WSLg version: 1.0.65
MSRDC version: 1.2.5620
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.22631.4460
@MarcelBolten
Copy link

Hi,

I'm also observing the same error:

running engine: waiting for the Docker API: engine linux/wsl failed to run: starting WSL engine: error spotted in wslbootstrap log: "[2024-11-28T19:48:55.345483430Z][wsl-bootstrap][F] more than one sd* disk in /sys/block with wwid ending by 57de6aa93848de02790adcb4: /dev/sdc,/dev/sde"

docker version

Client:
 Version:           27.3.1
 API version:       1.47
 Go version:        go1.22.7
 Git commit:        ce12230
 Built:             Fri Sep 20 11:42:27 2024
 OS/Arch:           windows/amd64
 Context:           desktop-linux
error during connect: Get "http://%2F%2F.%2Fpipe%2FdockerDesktopLinuxEngine/v1.47/version": open //./pipe/dockerDesktopLinuxEngine: The system cannot find the file specified.

docker info

Client:
 Version:    27.3.1
 Context:    desktop-linux
 Debug Mode: false
 Plugins:
  ai: Ask Gordon - Docker Agent (Docker Inc.)
    Version:  v0.1.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-ai.exe
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.18.0-desktop.2
    Path:     C:\Program Files\Docker\cli-plugins\docker-buildx.exe
  compose: Docker Compose (Docker Inc.)
    Version:  v2.30.3-desktop.1
    Path:     C:\Program Files\Docker\cli-plugins\docker-compose.exe
  debug: Get a shell into any image or container (Docker Inc.)
    Version:  0.0.37
    Path:     C:\Program Files\Docker\cli-plugins\docker-debug.exe
  desktop: Docker Desktop commands (Alpha) (Docker Inc.)
    Version:  v0.0.15
    Path:     C:\Program Files\Docker\cli-plugins\docker-desktop.exe
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.2
    Path:     C:\Program Files\Docker\cli-plugins\docker-dev.exe
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.27
    Path:     C:\Program Files\Docker\cli-plugins\docker-extension.exe
  feedback: Provide feedback, right in your terminal! (Docker Inc.)
    Version:  v1.0.5
    Path:     C:\Program Files\Docker\cli-plugins\docker-feedback.exe
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v1.4.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-init.exe
  sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
    Version:  0.6.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-sbom.exe
  scout: Docker Scout (Docker Inc.)
    Version:  v1.15.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-scout.exe

Server:
ERROR: error during connect: Get "http://%2F%2F.%2Fpipe%2FdockerDesktopLinuxEngine/v1.47/info": open //./pipe/dockerDesktopLinuxEngine: The system cannot find the file specified.
errors pretty printing info

Diagnostics ID

ECCA2C28-89D7-4B8B-93C2-DBB853C4B6E2/20241128194210

Additional Info

WSL version info:

WSL version: 2.3.26.0
Kernel version: 5.15.167.4-1
WSLg version: 1.0.65
MSRDC version: 1.2.5620
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.22631.4460

@beegotsy
Copy link

beegotsy commented Nov 29, 2024

For those who need to get Docker working; rollbacking to 4.35.1 (release page) works:

# install pending WSL updates with
wsl.exe --update
# install the previous version of Docker for Windows with:
.\<installer path>.exe install --disable-version-check

You will need to rebuild all images and containers, or at least that's what I did.
For me, the WSL update changed the error from a generic one to more than one sd* disk in /sys/block with wwid ending by ....

This seems a fix to get 4.36.0 working: #14447 (comment)

@griesi007
Copy link

same issue for me #14445

@rupasix
Copy link

rupasix commented Nov 29, 2024

I have same issue, screenshot from error:

Image

After that i checked with command "lsblk" if there is sde block and there was none:
Image

@lerouxm
Copy link

lerouxm commented Nov 29, 2024

Same issue here with an up to date wsl.
I can confirm that rolling back to previous 3.5.1 fixed the problem for me for now.

@dev-mich
Copy link

I had the same issue, but completely uninstalling and reinstalling resolved it for me.

@bastian-kurz
Copy link

I had the same issue. I solved it by going to 'Troubleshoot,' then clicking on 'Clean/Purge Data,' and selecting 'Hyper-V & WSL2.

Image

after that Docker Engine starts again.

@andrea-reale
Copy link

Hello everyone,

thanks for reporting the problem. Could you please share the output of wsl --list?

From the diagnostics kindly shared by @chris-riddell35 , it looks like WSL2 is in a state where it believes there are two disks with the same identifiers, which makes Docker Desktop boot fail.

Could you please confirm if shutting down WSL after quitting Docker Desktop (wsl.exe --shutdown) helps fixing the issue or not? (Alternative a Windows restart should also be equivalent)

@chris-riddell35
Copy link
Author

Hi @andrea-reale ,

I've done several Windows restarts, with the same result each time.

Here's the output of wsl --list:

wsl --list -v
  NAME              STATE           VERSION
* Ubuntu-20.04      Running         2
  Ubuntu            Stopped         1
  Ubuntu-24.04      Stopped         2
  docker-desktop    Stopped         2

@andrea-reale
Copy link

Hey @chris-riddell35 ,

thanks for your quick response and for confirming. I am having a hard time to try and reproduce the issue.
However, I will be shortly sharing a development build of Docker Desktop with a tentative fix.

I'd sincerely appreciate if you could help us by trying it out and confirm if it addresses the problem or not. If it does, I'll try to get it included in the upcoming 4.37 release.

@andrea-reale
Copy link

andrea-reale commented Nov 29, 2024

@chris-riddell35, all: as promised here's a development build of Docker Desktop 4.36 that should includes a fix for the issue: installer for windows x86.

Please, let me know if that helps with the more than one sd* disk error discussed in this ticket, and feel free to provide any further feedback (make sure to share diagnostics in case you stumble into different errors).

Note that being a development build, the installer is unsigned and you'll need to tell Windows you trust it, before it will let you run it. You can do so by right-clicking on the file -> Properties -> Unblock.

@thomaswiradikusuma
Copy link

I had exactly this error as well, right after upgrading. It disappears after few times open-crash-close-open-crash-close-open :)

@Cristy94
Copy link

I have the same issue with 4.36.0, it suddenly stopped working.

running engine: waiting for the Docker API: engine linux/wsl failed to run: starting WSL engine: error spotted in wslbootstrap log: "[2024-11-29T15:17:21.165474510Z][wsl-bootstrap][F] more than one sd* disk in /sys/block with wwid ending by 57de6aa93848de02790adcb4: /dev/sdc,/dev/sdd"
wsl --list
Windows Subsystem for Linux Distributions:
docker-desktop (Default)

@Cristy94
Copy link

Cristy94 commented Nov 29, 2024

I had the same issue. I solved it by going to 'Troubleshoot,' then clicking on 'Clean/Purge Data,' and selecting 'Hyper-V & WSL2.

Image

after that Docker Engine starts again.

Where did you find "Troubleshoot"?

Nevermind, it's here:

Image

EDIT:

Purging the data works (note that you will lose all containers).

@salvorapi
Copy link

@chris-riddell35, all: as promised here's a development build of Docker Desktop 4.36 that should includes a fix for the issue: installer for windows x86.

Please, let me know if that helps with the more than one sd* disk error discussed in this ticket, and feel free to provide any further feedback (make sure to share diagnostics in case you stumble into different errors).

Note that being a development build, the installer is unsigned and you'll need to tell Windows you trust it, before it will let you run it. You can do so by right-clicking on the file -> Properties -> Unblock.

it work 👍

@chris-riddell35
Copy link
Author

@andrea-reale after installing and restarting, docker desktop is up and running but something is wrong with the wsl2 integration. I see this error message:

Image

Diagnostics ID:
1AA58D3A-8AF2-493C-AEAF-41A589D2DF25/20241129155916

If I run docker from powershell, it's working. I typically use wsl2 and I have all my configurations there so this is still inconvenient, but appears to be workable. Let me know if I can gather more information about the new error.

@chris-riddell35
Copy link
Author

@andrea-reale I disabled the WSL integration, re-enabled and restarted Windows and this seems to be working now. I lost all my images when I did that, but I think the system is ok now.

I had also had two wsl2 distros active there, and I disabled one of them. I guess that may have helped fix this issue.

Image

@andrea-reale
Copy link

andrea-reale commented Nov 29, 2024

Hey @chris-riddell35 , thanks for reporting back your experience.

Glad to hear that the dev build fixed at least the startup issue. And I am sorry about the troubles with the Ubuntu integration. It looks like the previous integration moved to an unhealthy state after the upgrade: glad that disabling it and enabling it again mitigated the problem.

I'll look more into the diagnostics you provided to understand more about why the integration issue started to begin with.

@SparkInChief
Copy link

@andrea-reale — The dev build resolved the issue for me as well (same error message immediately after upgrading to 4.36.0).

I did not have to reboot (or purge anything), but I did lose all locally cached images and had to rebuild all images and restart containers.

Here's output of wsl --version in case it helps determine what systems the dev build works for (and why it doesn't work on others):

WSL version: 2.3.26.0
Kernel version: 5.15.167.4-1
WSLg version: 1.0.65
MSRDC version: 1.2.5620
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.22631.4541

@neonima1995
Copy link

Removing Ubuntu from Windows helped me.ImageImage

@theswissguy
Copy link

'Troubleshoot,' then clicking on 'Clean/Purge Data,' helped in my case. Docker Desktop starts, but in won't let my sign in. I'm been redirected to https://app.docker.com/auth/ and back to Docker Desktop, but all I get is

Image

@WesWedding
Copy link

@chris-riddell35, all: as promised here's a development build of Docker Desktop 4.36 that should includes a fix for the issue: installer for windows x86.

Please, let me know if that helps with the more than one sd* disk error discussed in this ticket, and feel free to provide any further feedback (make sure to share diagnostics in case you stumble into different errors).

Note that being a development build, the installer is unsigned and you'll need to tell Windows you trust it, before it will let you run it. You can do so by right-clicking on the file -> Properties -> Unblock.

This development package has addressed the issue for me. I did not attempt to manually purge cached data yet, as mentioned in an earlier post by another user upthread.

@xmontero
Copy link

xmontero commented Dec 2, 2024

Same problem.

Solutions so far?

  • It seems I could uninstall and re-install an older version. But it seems to loose images and containers. I can't afford that loose.
  • Development build.

Question: a) "Dev build" means a re-installation of a new version? b) Will I loose any data by doing so? I have production data that I can't loose.

@mattschlosser
Copy link

mattschlosser commented Dec 2, 2024

I'm getting the same error:

Diagnostics ID:
EB6FEC5B-2454-48F2-BE6A-B735489D72A4/20241202222120

I can usually get docker to start by doing wsl --shutdwwn and then restarting Docker Desktop, and everything is fine.

Version 4.36.0

@maxippacheco
Copy link

@chris-riddell35, all: as promised here's a development build of Docker Desktop 4.36 that should includes a fix for the issue: installer for windows x86.

Please, let me know if that helps with the more than one sd* disk error discussed in this ticket, and feel free to provide any further feedback (make sure to share diagnostics in case you stumble into different errors).

Note that being a development build, the installer is unsigned and you'll need to tell Windows you trust it, before it will let you run it. You can do so by right-clicking on the file -> Properties -> Unblock.

It worked for me, you literally saved me LOL

@ginocampra
Copy link

Thanks guys, it worked great for me too

@drewtech
Copy link

drewtech commented Dec 3, 2024

I'm getting the same error:

Diagnostics ID: EB6FEC5B-2454-48F2-BE6A-B735489D72A4/20241202222120

I can usually get docker to start by doing wsl --shutdwwn and then restarting Docker Desktop, and everything is fine.

Version 4.36.0

running wsl --shutdown and starting docker worked for me too - thanks!

@ffes
Copy link

ffes commented Dec 3, 2024

Same problem when I already have an active WSL session. When I close that session, run wsl --shutdown Docker Desktop works as expected.

@BobDankert
Copy link

I also had this issue. Running wsl --shutdown first, then starting docker, then starting other wsl images (Ubuntu - started by just running wsl) after docker was running worked for me. I didn't try the dev build, as I'd rather wait for a new update to be published. Verified the state of WSL images using wsl --list -v as suggested above.

@CCadere
Copy link

CCadere commented Dec 4, 2024

@chris-riddell35, all: as promised here's a development build of Docker Desktop 4.36 that should includes a fix for the issue: installer for windows x86.

Please, let me know if that helps with the more than one sd* disk error discussed in this ticket, and feel free to provide any further feedback (make sure to share diagnostics in case you stumble into different errors).

Note that being a development build, the installer is unsigned and you'll need to tell Windows you trust it, before it will let you run it. You can do so by right-clicking on the file -> Properties -> Unblock.

OMG, thank you for this! Back to work now.

@qurm
Copy link

qurm commented Dec 4, 2024

I had the above "more than one.." issue today, after allowing Docker Desktop to update itself to 4.36.0. I am running Win 10. Based on a comment above, I restarted and updated WSL as below.
After doing this, Docker Desktop started up fine, with no errors. I did not need to rollback.

PS C:\WINDOWS\system32> wsl --update
Checking for updates.
Updating Windows Subsystem for Linux to version: 2.3.26.
PS C:\WINDOWS\system32> wsl --list
Windows Subsystem for Linux Distributions:
Ubuntu (Default)
docker-desktop-data
PS C:\WINDOWS\system32>

@CoolGoose
Copy link

CoolGoose commented Dec 5, 2024

For what is worth as an additional point of data

running engine: waiting for the Docker API: engine linux/wsl failed to run: starting WSL engine: error spotted in wslbootstrap log: "[2024-12-05T09:09:40.255962887Z][wsl-bootstrap][F] more than one sd* disk in /sys/block with wwid ending by 57de6aa93848de02790adcb4: /dev/sdc,/dev/sde"

 wsl --list
Windows Subsystem for Linux Distributions:
Ubuntu (Default)
docker-desktop

Diagnostics ED24435D-FEB6-4E9A-9A23-585494CE6CEE/20241205090946

Going to try the preview fix exe.

LE: seems that works indeed.

@JensKnipper
Copy link

JensKnipper commented Dec 5, 2024

The new build works for me, thanks!

@matrumz
Copy link

matrumz commented Dec 6, 2024

Hello everyone,

thanks for reporting the problem. Could you please share the output of wsl --list?

From the diagnostics kindly shared by @chris-riddell35 , it looks like WSL2 is in a state where it believes there are two disks with the same identifiers, which makes Docker Desktop boot fail.

Could you please confirm if shutting down WSL after quitting Docker Desktop (wsl.exe --shutdown) helps fixing the issue or not? (Alternative a Windows restart should also be equivalent)

@andrea-reale

I can confirm after using this workaround several times that it works:

  1. Close Docker Desktop
  2. Close all WSL terminals, VSCode windows connected to WSL, etc.
  3. In Powershell: wsl --shutdown
  4. Open Docker Desktop (BEFORE STARTING WSL)

@jlegue
Copy link

jlegue commented Dec 8, 2024

I had a very similar issue in that Docker would not start on my Windows 10 system. I updated wsl2 as was described (wsl --update) which made things work with the previous build but the released 4.36.0 just would not start at all. Deployed the dev build on this ticket and was able to get Docker Desktop working once more. Thanks for the fix!

@RJFoster
Copy link

What is the likely timeframe for an official (non-dev) fix?

@benitogf
Copy link

I had the same issue, but completely uninstalling and reinstalling resolved it for me.

this worked for me

@thangnq1001
Copy link

thangnq1001 commented Dec 11, 2024

I had the same issue. I solved it by going to 'Troubleshoot,' then clicking on 'Clean/Purge Data,' and selecting 'Hyper-V & WSL2.

Image

after that Docker Engine starts again.

Worked for me, no errors so far. I don't have any valuable data.

The popup may be stuck spinning, if that, you can click the background (to close the popup) and wait for the Restart button to clickable, then restart Docker.
Image

@lorenrh
Copy link
Member

lorenrh commented Dec 12, 2024

Docker Desktop 4.37.0 has just been released, and it contains a fix for this issue! see: https://docs.docker.com/desktop/release-notes/

if the problem persists, feel free to open a new issue!

@lorenrh lorenrh closed this as completed Dec 12, 2024
@j-fbriere
Copy link

For me, no need to downgrade/upgrade/purge any data.
Running wsl --shutdown then starting Docker Desktop works for me. After that I can also use my other wsl distributions.

@NotVeryAsh
Copy link

wsl.exe --update

Running only this command seemed to work for me 😄

@vivirox
Copy link

vivirox commented Dec 22, 2024

Still there for me. Two systems, one was/is experiencing after latest upgrade. The other system, completely fresh Windows install straight to 4.37.1. Windows 11.

Neither Docker Desktop will ever actually start. The service, if on, gets stopped and disabled almost immediately. If 'Automatic' was set, that status gets washed. Never starts though.

@WesWedding
Copy link

WesWedding commented Dec 22, 2024

To be clear, you're getting the error shown in the OP?

@jlegue
Copy link

jlegue commented Dec 22, 2024 via email

@vivirox
Copy link

vivirox commented Dec 22, 2024

Yes. Same error. That's what brought me here.

I've tried about every possible 'workaround' or alleged fix possible. No dice.

@WesWedding
Copy link

WesWedding commented Dec 22, 2024 via email

@vivirox
Copy link

vivirox commented Dec 23, 2024

wsl --list
Windows Subsystem for Linux Distributions:
Ubuntu (Default)
docker-desktop

@WesWedding
Copy link

Not sure what the appropriate way to get attention back into this issue is. A full diagnostic report like the OP generated would probably help significantly, or perhaps there's a process to generate a support request.

@ksaber
Copy link

ksaber commented Dec 27, 2024

Guys, first time using Docker and for almost 2 weeks now i have tried almost every solution. If anyone can help my diagnostic code is "CDF346CC-88C2-4F95-84DF-33986A062672/20241227054541"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests