Skip to content

Docker Desktop for 4.17.1 breaks any --gpu usage for existing installations #13324

Closed

Description

@quantumtec
  • I have tried with the latest version of Docker Desktop
  • I have tried disabling enabled experimental features
  • I have uploaded Diagnostics
  • Diagnostics ID:

Actual behavior

After upgrade to 4.17.1 from 4.17.0, containers with --gpu

Expected behavior

Docker containers should be startable, docker-compose should work

Information

  • Windows Version: 11
  • Docker Desktop Version: 14.17.1
  • WSL2 or Hyper-V backend? WSL2
  • Are you running inside a virtualized Windows e.g. on a cloud server or a VM: no

WSL-Version: 1.1.3.0
Kernelversion: 5.15.90.1
WSLg-Version: 1.0.49
MSRDC-Version: 1.2.3770
Direct3D-Version: 1.608.2-61064218
DXCore-Version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows Version: 10.0.22621.1413

Output of & "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" check

Starting diagnostics

[PASS] DD0027: is there available disk space on the host?
[PASS] DD0028: is there available VM disk space?
[PASS] DD0002: does the bootloader have virtualization enabled?
[SKIP] DD0018: does the host support virtualization?
[PASS] DD0001: is the application running?
[PASS] DD0022: is the Virtual Machine Platform Windows Feature enabled?
[PASS] DD0021: is the WSL 2 Windows Feature enabled?
[PASS] DD0024: is WSL installed?
[PASS] DD0025: are WSL distros installed?
[PASS] DD0026: is the WSL LxssManager service running?
[FAIL] DD0029: is the WSL 2 Linux filesystem corrupt? [ 17.619831] EXT4-fs error (device sdd): ext4_put_super:1188: comm Xwayland: Couldn't clean up the journal
[PASS] DD0035: is the VM time synchronized?
[PASS] DD0017: can a VM be started?
[PASS] DD0016: is the LinuxKit VM running?
[PASS] DD0011: are the LinuxKit services running?
[PASS] DD0004: is the Docker engine running?
[PASS] DD0015: are the binary symlinks installed?
[PASS] DD0031: does the Docker API work?
[PASS] DD0013: is the $PATH ok?
[PASS] DD0003: is the Docker CLI working?
[PASS] DD0005: is the user in the docker-users group?
[PASS] DD0038: is the connection to Docker working?
[PASS] DD0014: are the backend processes running?
[PASS] DD0007: is the backend responding?
[PASS] DD0008: is the native API responding?
[PASS] DD0009: is the vpnkit API responding?
[PASS] DD0010: is the Docker API proxy responding?
[PASS] DD0006: is the Docker Desktop Service responding?
[SKIP] DD0030: is the image access management authorized?
[PASS] DD0033: does the host have Internet access?
[PASS] DD0002: does the bootloader have virtualization enabled?
[PASS] DD0018: does the host support virtualization?
[PASS] DD0001: is the application running?
[PASS] DD0022: is the Virtual Machine Platform Windows Feature enabled?
[PASS] DD0021: is the WSL 2 Windows Feature enabled?
[PASS] DD0024: is WSL installed?
[PASS] DD0025: are WSL distros installed?
[PASS] DD0026: is the WSL LxssManager service running?
[WARN] DD0029: is the WSL 2 Linux filesystem corrupt? [ 17.619831] EXT4-fs error (device sdd): ext4_put_super:1188: comm Xwayland: Couldn't clean up the journal
[PASS] DD0035: is the VM time synchronized?
[PASS] DD0017: can a VM be started?
[PASS] DD0016: is the LinuxKit VM running?
[PASS] DD0011: are the LinuxKit services running?
[PASS] DD0004: is the Docker engine running?
[PASS] DD0015: are the binary symlinks installed?
[PASS] DD0031: does the Docker API work?
[PASS] DD0032: do Docker networks overlap with host IPs?

Steps to reproduce the behavior

  1. ...
  2. ...

Activity

  1. krokosik commented on Mar 22, 2023

    @krokosik

    This also happens on my Windows 11 machine. Rebooting WSL, Windows or reinstalling the software doesn't help. I'm downgrading to previous version for now.

  2. gustavozantut commented on Mar 22, 2023

    @gustavozantut

    Here too, mainly when trying to use gpu

  3. henry-hsiao commented on Mar 22, 2023

    @henry-hsiao

    My condition: after upgrading to 4.17.1 from 4.17.0, "--gpus" not work anymore. Downgrading to 4.17.0 solves the issue.

  4. thekevshow commented on Mar 22, 2023

    @thekevshow

    Here too, mainly when trying to use gpu

    yeah anything where --gpu all or (index of GPU) it just hangs and nothing happens. I figured it was this update smh. Spent multiple hours trying to fix this already, does anyone have a solution?

    EDIT:
    @henry-hsiao downgrading is the way

  5. gustavozantut commented on Mar 22, 2023

    @gustavozantut

    Here too, mainly when trying to use gpu

    yeah anything where --gpu all or (index of GPU) it just hangs and nothing happens. I figured it was this update smh. Spent multiple hours trying to fix this already, does anyone have a solution?

    EDIT:
    @henry-hsiao downgrading is the way

    Downgrade to 4.17.0
    https://docs.docker.com/desktop/release-notes/

  6. xtrm0 commented on Mar 22, 2023

    @xtrm0

    Same here, exact issue with broken --gpu downgradign to 4.17.0 fixed the issue

  7. changed the title [-]Docker Desktop for 4.17.1 can break existing installations[/-] [+]Docker Desktop for 4.17.1 breaks any --gpu usage for existing installations[/+] on Mar 22, 2023
  8. Mark-Beaty commented on Mar 23, 2023

    @Mark-Beaty

    Same issue for me, downgrading does resolve the issue

  9. peterbandi commented on Mar 24, 2023

    @peterbandi

    I cannot downgrade either. Windows defender identifier the installer of 4.17.0 as a threat: Trojan:Script/Wacatac.H!ml

  10. Mark-Beaty commented on Mar 24, 2023

    @Mark-Beaty

    I cannot downgrade either. Windows defender identifier the installer of 4.17.0 as a threat: Trojan:Script/Wacatac.H!ml

    I had this as well, I allowed it though windows defender and it worked just fine, though I won’t recommend it as a smart solution

  11. nicks commented on Mar 24, 2023

    @nicks

    thanks for the report! we believe there's a regression in 4.17.1 and are currently investigating

  12. shawnaxsom commented on Mar 24, 2023

    @shawnaxsom

    Thanks again for the report!

    We've been able to reproduce and narrow down the problem to an upstream dependency.

    We're testing out a fix now that we aim to include in an RC next week, to be released in v4.18.0 in the coming weeks.

  13. Bathsheba commented on Mar 25, 2023

    @Bathsheba

    On the one hand, thanks!
    on the other hand...weeks? I hope 4.17.1 will not be pushed automatically during that time.

  14. gustavozantut commented on Mar 25, 2023

    @gustavozantut
  15. UTshion commented on Mar 26, 2023

    @UTshion

    I had this issue too, downgrading Docker desktop worked for me!
    Thanks!

  16. gvalenzuelarg commented on Mar 27, 2023

    @gvalenzuelarg

    Downgrading to 4.17.0 also didn't solve the problem. Version 4.16.3 however works for me.

  17. malcolmradelet commented on Mar 28, 2023

    @malcolmradelet

    Downgrading to 4.17.0 also didn't solve the problem. Version 4.16.3 however works for me.

    This is the version I had to downgrade to as well. Unfortunately lost all my volumes during the process.

  18. qingfengfenga commented on Mar 30, 2023

    @qingfengfenga

    Downgrading to 4.17.0 also didn't solve the problem. Version 4.16.3 however works for me.

    This is the version I had to downgrade to as well. Unfortunately lost all my volumes during the process.

    When demoting or uninstalling docker desktop, you only need to use the wsl export command to export docker desktop data as a file to back up all data

  19. dodgio commented on Apr 3, 2023

    @dodgio

    Downgrading worked here, too. Thanks

  20. damienallen commented on Apr 3, 2023

    @damienallen

    In our case, downgrading to v4.17.0 (after uninstalling v4.17.1) was enough to fix the regression.

  21. JL1829 commented on Apr 3, 2023

    @JL1829

    For my case, downgrade to 4.17.0 good enough

  22. anak1st commented on Apr 5, 2023

    @anak1st

    Downgrading worked for me too. Thanks.

  23. lorenrh commented on Apr 5, 2023

    @lorenrh
    Member

    Closing this issue because a fix has been released in Docker Desktop 4.18.0. See the release notes for more details.

  24. docker-robott commented on May 5, 2023

    @docker-robott
    Collaborator

    Closed issues are locked after 30 days of inactivity.
    This helps our team focus on active issues.

    If you have found a problem that seems similar to this, please open a new issue.

    /lifecycle locked

  25. locked and limited conversation to collaborators on May 5, 2023
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