microsoft / microsoft/vscode-remote-release

Failed to find dev container configuration when opening folder in WSL

Open
#7,784 2 comments 0 reactions 1 assignee View on GitHub

@chrmarti is already working on this.

Since Jan 9, 2023.

bug containers
Dominant language
Dockerfile
Stars
4.2k
Forks
470
Avg merge
1d 1h
Merged PRs (30d)
1

Description

  • VSCode Version: 1.74.2
  • Local OS Version: Windows 10 Pro, Version 22H2, OS build 19045.2364
  • Remote OS Version: Linux x64 5.15.79.1-microsoft-standard-WSL2
  • Remote Extension/Connection Type: Connected to dev container via WSL

Enabled extensions:

  • Dev Containers
  • Remote - SSH
  • WSL
    image

Steps to Reproduce:

  1. Reopen WSL2 folder in Node.js & TypeScript dev container (Node.js version 18)
  2. Open command palette (Ctrl + Shift + P) and select Dev Containers: Show Container Log
  3. Open command palette again and select Dev Containers: Configure Container Features...
  4. Log states Failed to find configuration. Cannot configure container features.

If I attempt the same steps while reopening a folder in the Windows file system, no error is thrown and I am able to select additional features:
image

Does this issue occur when you try this locally?: Yes
Does this issue occur when you try this locally and all extensions are disabled?: Yes

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.