microsoft / vscode-dev-containers

NOTE: Most of the contents of this repository have been migrated to the new devcontainers GitHub org (https://github.com/devcontainers). See https://github.com/devcontainers/template-starter and https://github.com/devcontainers/feature-starter for information on creating your own!
https://aka.ms/vscode-remote
MIT License
4.72k stars 1.4k forks source link

Launching from WSL failing #1722

Closed david-engelmann closed 1 year ago

david-engelmann commented 1 year ago

Version: 1.76.0 (user setup) Commit: 92da9481c0904c6adfe372c12da3b7748d74bdcb Date: 2023-03-01T10:22:44.506Z Electron: 19.1.11 Chromium: 102.0.5005.196 Node.js: 16.14.2 V8: 10.2.154.26-electron.0 OS: Windows_NT x64 10.0.22000 Sandboxed: No

Steps to Reproduce:

  1. Launch a project with a devcontainer.json in VsCode connected to the WSL Server
    • Ie. Go to the folder in wsl or Ubuntu and code .
  2. Reopen in Dev Container from VsCode WSL Server

Error:

Error: Dev container config (c:\mnt\c\users\........

For some reason when launching from wsl, its looking for the devcontainer.json in c:\mnt\c

david-engelmann commented 1 year ago

Issue in active repo