Skip to content

[Windows] Docker VMM fails to start when a configured File sharing directory no longer exists #899

Backlog

Description

@kamkie

Bug report

Bug description

On Windows with Docker VMM, Docker Desktop failed to start its Linux engine after a previously shared Git worktree directory was removed from the host. The path remained listed in Settings → Resources → File sharing. Docker Desktop displayed Shared folder invalid, and the backend logged:

starting engine: engine linux/sailor failed to start: missing shared directory

Expected behavior: Start the engine with the other shares available and warn that the missing share is unavailable. Requests to bind-mount that path should fail with a clear error until it is restored or the share is removed.

Actual behavior: A single missing share prevents the entire Linux engine from starting. The backend retries and reports the same startup error. The dialog offers to remove the share from configuration, recreate the directory, or quit.

Steps to reproduce

These steps reflect the observed configuration and failure. I have not repeated them with a fresh test folder.

  1. In Docker Desktop on Windows, select Docker VMM as the virtual machine manager.
  2. Add an existing temporary Windows directory, such as a disposable Git worktree, under Settings → Resources → File sharing and apply the change.
  3. Remove the directory from Windows while leaving its entry in File sharing.
  4. Start Docker Desktop and check whether the Linux engine starts.

Platform

Windows

Version information

Docker Desktop: 4.101.0
Backend: Docker VMM (linux/sailor)
Windows 11 Pro 26H2, build 26300.9974, x64
Docker Engine after recovery: 29.10.1
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