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

Add New Devcontainer Feature Should Work in VSCode on Windows #7054

Open
choigawoon opened this issue Jun 14, 2024 · 3 comments
Open

Add New Devcontainer Feature Should Work in VSCode on Windows #7054

choigawoon opened this issue Jun 14, 2024 · 3 comments
Assignees
Labels
area/vs-code kind/enhancement New feature or request platform/windows triage/confirmed Issue has been reproduced by dev team triage/next-candidate Discuss if it should be moved to "Next" milestone

Comments

@choigawoon
Copy link

Problem Description

After installing Rancher Desktop,
when I enter wsl -d rancher-desktop and execute code ., the "Add New Devcontainer" function works well. However, when I open VSCode in Windows and try to execute "Add New Devcontainer", the process hangs with the "Creating Devcontainer" window displayed in the bottom right corner.

Proposed Solution

It would be great if this function worked in VSCode opened from Windows, just as it does within WSL.

Additional Information

No response

@choigawoon choigawoon added the kind/enhancement New feature or request label Jun 14, 2024
@gunamata gunamata self-assigned this Jun 14, 2024
@gunamata
Copy link
Contributor

I could reproduce the reported behavior. The Dev Container log doesn't show any useful error messages though. The execution just waits with the message "Dev Containers CLI completed".

Here's the log from my run:

create-devcontainer-log.txt

Another observation is that if I close the VS Code session at this stage the dev container continues to run, so, reopening a new VS Code session and then trying to attach the session to the running container seems to start the devContainer as expected. Maybe this can serve as a workaround in the meantime?

@jandubois jandubois added area/vs-code platform/windows triage/confirmed Issue has been reproduced by dev team labels Jun 17, 2024
@choigawoon
Copy link
Author

Thank you
Workaround would be good for me at this time.

@andi-blafasl
Copy link

Stumbled upon the same error and found the following issues:
Stuck in "Replacing imageVariant with ..." step
New dev container hangs and never completes

would be nice if rancher desktop could work as an dop in replacement for docker desktop with vscode and dev containers 😊

@gunamata gunamata added the triage/next-candidate Discuss if it should be moved to "Next" milestone label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/vs-code kind/enhancement New feature or request platform/windows triage/confirmed Issue has been reproduced by dev team triage/next-candidate Discuss if it should be moved to "Next" milestone
Projects
None yet
Development

No branches or pull requests

4 participants