Skip to content

WSL2: CLI tools got lost from integration. Cannot restore them. #6441

@alexkrauss

Description

@alexkrauss
  • I have tried with the latest version of my channel (Stable or Edge)
  • I have uploaded Diagnostics
  • Diagnostics ID: 21394073-DB37-49FA-8287-726A6C45ED10/20200424220626

Expected behavior

In my distro (Debian), I can access docker using command line tools after enabling the integration in the settings.

Actual behavior

The above used to work fine until today. Some accident (presumably a docker-compose command) now seem to have removid the cli binaries. Looking around, I see a dangling symlink from /usr/bin/docker to /mnt/wsl/docker-desktop/cli-tools/usr/bin/docker. In fact, /mnt/wsl/docker-desktop/cli-tools/ is empty.

I tried to disable the integration and re-enable it again, with no effect.
What can I do to restore the proper integration, without having to throw away the whole distro?

I would appreciate some workaround that help restore the integration.

Information

  • Windows Version: 2004 (Build 19041.21)
  • Docker Desktop Version: 2.2.0.5 (43884)
  • Are you running inside a virtualized Windows e.g. on a cloud server or on a mac VM: No.

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