Skip to content

Docker Unexpected error #14034

Closed
Closed

Description

@Amulya2528

Description

running engine: waiting for the VM setup to be ready: starting WSL engine: bootstrapping in the main distro: starting wsl-bootstrap: context canceled
docker engine is not running.

Reproduce

  1. run docker as administrator and its showing the above error.

Expected behavior

Docker engine should run

docker version

20.10.

docker info

did wsl --shutdown and restarted, even then got the same error.

Diagnostics ID

A300B799-05AD-44E7-ADB7-EB3BF6C757E4/20240425093032

Additional Info

No response

Activity

  1. hblovo commented on Apr 27, 2024

    @hblovo

    Getting back to an old version might help because I just saw your problem recently based on the error information.

  2. interplexed commented on Apr 28, 2024

    @interplexed

    For me this appeared after upgrading Docker Desktop to v4.29.0 (latest) on Windows 11 23H2 (22631.3447) within the last week. After the error message, re-running the program results in the same error message. Using task manager to shutdown all docker-related processes and re-run, appears to work.
    FWIW, it feels like a timeout based on internet connection. I'm setting my laptop to hibernate with it's not-so-great VPN connection up... it's as if when I disconnect the VPN, Docker Desktop loads normally.
    Diagnostics ID: 57D5AE4A-0D1B-4ABD-9746-CB4530A08E0D/20240428084301

  3. samir-puranik commented on Apr 29, 2024

    @samir-puranik

    I am also experiencing the same issue. Diagnostics ID: 49DC9064-604D-494C-ACB0-236581DCA481/20240429165804

    docker --version
    Docker version 26.0.0, build 2ae903e
    
    wsl --list
    Windows Subsystem for Linux Distributions:
    docker-desktop-data (Default)
    docker-desktop
    
  4. samir-puranik commented on Apr 29, 2024

    @samir-puranik

    Getting back to an old version might help because I just saw your problem recently based on the error information.

    Tried this and confirming that this works. I uninstalled 4.29.0 and re-installed 4.28.0 and now it's working again

  5. liumudj commented on May 1, 2024

    @liumudj

    回退到之前版本有效

  6. romancristinel commented on May 1, 2024

    @romancristinel

    Disabling the auto start on system start (via Task Manager / Startup apps) for Docker Desktop fixed it for me .

  7. senina4 commented on May 4, 2024

    @senina4

    This work for me:

    wsl --unregister docker-desktop 
    

    Restart Docker Desktop

    (edited: this command won't delete your data)

  8. xszefo commented on May 4, 2024

    @xszefo

    @senina4 , it also works for me, thanks! :)

  9. smartercow commented on May 6, 2024

    @smartercow

    This work for me:

    wsl --unregister docker-desktop
    wsl --unregister docker-desktop-data
    

    Restart Docker Desktop

    Same

  10. 9 remaining items

  11. nikosvil commented on Jul 24, 2024

    @nikosvil

    This work for me:

    wsl --unregister docker-desktop
    wsl --unregister docker-desktop-data
    

    Restart Docker Desktop

    Had the same issue on 4.32.0, those commands fixed it. Thanks!

  12. nikolausmoll commented on Aug 16, 2024

    @nikolausmoll

    This work for me:

    wsl --unregister docker-desktop
    wsl --unregister docker-desktop-data
    

    Restart Docker Desktop

    warning!this will clean all your images and containers
    yeah, I don't know why the warning is not part of the original post...

    anyway, did not solve it for me for Docker Desktop 4.33.1 (162079) - have to start the Docker software manually, but that sucks.

  13. lorenrh commented on Aug 30, 2024

    @lorenrh
    Member

    4.34.0 has been released with a fix for this issue, more information o the release notes.

    I'll be closing this issue, but if the problem persists please open a fresh issue!

  14. andreaswrife commented on Aug 30, 2024

    @andreaswrife

    The issue persists.

    Updated from 4.33.1, being plagued with the the #13806 error.
    Now with 4.34.0 I get this issue. #14034
    Although the release notes indicate that this bug is fixed.

    I have tried the wsl --unregister quickfix without success.

    I am gonna play around with it a bit more, see if there is some setting I've changed..

  15. vaibhavPH commented on Sep 2, 2024

    @vaibhavPH

    4.34.0 has been released with a fix for this issue, more information o the release notes.

    I'll be closing this issue, but if the problem persists please open a fresh issue!

    not fixed for me even in docker desktop 4.3.4

  16. andrea-reale commented on Sep 2, 2024

    @andrea-reale

    Hey all - thanks for reporting that the problem persists with 4.34. Unfortunately, the fix introduced in 4.34 had itself a bug. Please, take a look at for a possible workaround #14294 (comment).

    Since this issue is now closed, please use #14294 for any further communication (and remember to include diagnostics!).

  17. jeaneigsi commented on Sep 22, 2024

    @jeaneigsi

    This work for me:

    wsl --unregister docker-desktop
    wsl --unregister docker-desktop-data
    

    Restart Docker Desktop

    work perfectly thanks

  18. java43wuyi commented on Oct 13, 2024

    @java43wuyi

    I reinstalled docker and followed Microsoft's instructions https://learn.microsoft.com/en-us/windows/wsl/install to install and start wsl2, then restarted docker. If there are any problems during the installation, check the Microsoft website https://learn.microsoft.com/en-us/windows/wsl/troubleshooting#installation-issues for solutions

  19. Carlos-vargs commented on Nov 6, 2024

    @Carlos-vargs

    This work for me:

    wsl --unregister docker-desktop
    wsl --unregister docker-desktop-data
    

    Restart Docker Desktop

    warning!this will clean all your images and containers

    too late 😔

  20. PatchFact commented on Dec 19, 2024

    @PatchFact

    For me the solution was disabling "use legacy mode" for cmd.exe. In my case, I had set up a shortcut to run a terminal command on startup which had this enabled and it affects all terminals (properties -> options -> legacy mode).

    You might have enabled this feature at some point before if none of the above fixes worked for you.

  21. ackvf commented on Jan 26, 2025

    @ackvf

    This work for me:

    wsl --unregister docker-desktop
    wsl --unregister docker-desktop-data
    

    Restart Docker Desktop

    warning!this will clean all your images and containers

    too late 😔

    Is it possible to reattach the images back to avoid the loss?

  22. brazeiro63 commented on Feb 13, 2025

    @brazeiro63

    The issue:
    running engine: waiting for the VM setup to be ready: starting WSL engine: bootstrapping in the main distro: running wsl-bootstrap: exit status 0xffffffff

    Is still present.

    Docker Desktop v4.38.0
    Diagnostic ID: 3710D364-1E7E-42DA-9D7D-C1DBAAE334D1/20250213155646

    Edição Windows 10 Pro
    Versão 22H2
    Instalado em ‎06/‎08/‎2023
    Compilação do SO 19045.5487
    Experiência Windows Feature Experience Pack 1000.19061.1000.0

  23. Nesemis commented on Apr 13, 2025

    @Nesemis

    For me the solution was disabling "use legacy mode" for cmd.exe. In my case, I had set up a shortcut to run a terminal command on startup which had this enabled and it affects all terminals (properties -> options -> legacy mode).

    You might have enabled this feature at some point before if none of the above fixes worked for you.

    It worked for me. I checked 'Use legacy console' for hiding the terminal console for autorunning Syncthing, but now it made docker not work. If I disable legacy console, now the Syncthing terminal shows. Kinda annoying

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions