Skip to content

'Invalid mount config' error when starting Dev Container using Rancher Desktop #8306

@MikeEvansLarah

Description

@MikeEvansLarah
  • VSCode Version: 1.76.2

  • Local OS Version: Windows 11 10.0.22621

  • Remote Extension/Connection Type: Containers

  • Logs:

Start: Starting container
Start: Run: docker run --sig-proxy=false -a STDOUT -a STDERR --mount type=bind,source=c:\temp\endjin\devcontainetest,target=/workspaces/devcontainetest,consistency=cached --mount type=volume,src=vscode,dst=/vscode --mount type=bind,src=\\wsl.localhost\Ubuntu-20.04\mnt\wslg\runtime-dir\wayland-0,dst=/tmp/vscode-wayland-ba7ede98-a9e5-4dfc-a023-d66e1a09712f.sock -l devcontainer.local_folder=c:\temp\endjin\devcontainetest -l devcontainer.config_file=c:\temp\endjin\devcontainetest\.devcontainer\devcontainer.json --entrypoint /bin/sh -l devcontainer.metadata=[{"id":"./local-features/git"},{"id":"ghcr.io/devcontainers/features/common-utils:2"},{"remoteUser":"vscode"}] mcr.microsoft.com/devcontainers/base:alpine-3.17 -c echo Container started
docker: Error response from daemon: invalid mount config for type "bind": bind s
ource path does not exist: \\wsl.localhost\Ubuntu-20.04\mnt\wslg\runtime-dir\way
land-0.

Steps to Reproduce:

  1. Start Rancher Desktop
  2. Open a folder in Dev Container

Issue only occurs when using VS Code Dev Containers extension > v0.266.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    containersIssue in vscode-remote containersinfo-neededIssue requires more information from poster

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions