Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The 'devcontainer' cli included with remote-containers hangs when used in WSL2 prompts #9887

Open
sliekens opened this issue May 15, 2024 · 0 comments
Assignees
Labels
containers Issue in vscode-remote containers

Comments

@sliekens
Copy link

sliekens commented May 15, 2024

  • VSCode Version: 1.89.1 (system setup)
    Commit: dc96b837cf6bb4af9cd736aa3af08cf8279f7685
    Date: 2024-05-07T05:13:33.891Z
    Electron: 28.2.8
    ElectronBuildId: 27744544
    Chromium: 120.0.6099.291
    Node.js: 18.18.2
    V8: 12.0.267.19-electron.0
  • Local OS Version: Windows_NT x64 10.0.22621
  • Remote OS Version: Debian GNU/Linux 12 (bookworm)
  • Remote Extension/Connection Type: WSL2

Steps to Reproduce:

  1. Find out the path to the devcontainer cli
    • e.g. c:\Users\yourname\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\cli-bin\devcontainer
  2. Convert to a WSL path
    • e.g. /mnt/c/Users/yourname/AppData/Roaming/Code/User/globalStorage/ms-vscode-remote.remote-containers/cli-bin/devcontainer
  3. Run it inside a WSL prompt with any command or options like --version
/mnt/c/Users/yourname/AppData/Roaming/Code/User/globalStorage/ms-vscode-remote.remote-containers/cli-bin/devcontainer --version

The command never completes and you must press CTRL+C or CTRL+Z to terminate it.

The devcontainer open command doesn't work at all in WSL2.

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

@sliekens sliekens changed the title The 'devcontainer' cli included with VSCode hangs when used in WSL2 prompts The 'devcontainer' cli included with remote-containers hangs when used in WSL2 prompts May 15, 2024
@VSCodeTriageBot VSCodeTriageBot added the containers Issue in vscode-remote containers label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
containers Issue in vscode-remote containers
Projects
None yet
Development

No branches or pull requests

3 participants