-
Notifications
You must be signed in to change notification settings - Fork 238
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
Dev container based on compose file does not start up from WSL. #671
Comments
Hi 👋 This issue looks very similar to #650. What is your docker version? Can you try upgrading and testing the same flow? Thanks |
Hello!
I've seen #650 issue. I have the latest one version of docker and compose plugin. I tried to run it inside fresh Ubuntu 23 and 22 over WSL but I have the same result. There is something happened between compose and wsl which is not cleaned by Docker's "Reset to factory defaults" button. |
Hello! I checked if the issue present in insiders version of VS Code and find out that all works fine. The issue was resolved by uninstalling vscode completely, wiping out AppData\Roaming\Code folder and reinstalling VS Code back. |
I ran into this same issue and tracked it down to a permissions issue with devcontainers/cli tries to run This can be reproduced in WSL directly with
Removing #826 should mostly fix this specific issue by looking for There are several related issues in the WSL project: |
Got the following error:
Error running command remote-containers.newContainer: Command failed: /home/master/.vscode-server/bin/f1b07bd25dfad64b0167beb15359ae573aecd2cc/node /home/master/.vscode-remote-containers/dist/dev-containers-cli-0.315.1/dist/spec-node/devContainersSpecCLI.js read-configuration --docker-compose-path docker compose --workspace-folder /home/master/dev/test --log-level debug --log-format json --config /home/master/dev/test/.devcontainer/devcontainer.json --include-merged-configuration --mount-workspace-git-root. This is likely caused by the extension that contributes remote-containers.newContainer.
dev container log:
what i have done:
I created the empty project folder with template https://github.com/devcontainers/templates/tree/main/src/postgres inside freshly installed WSL Ubuntu 22.04
Docker desktop was reseted to factory defaults. v4.25.0 WSL Integration was enabled.
Dev cont ext version v0.315.1
VS Code version
this issue related only to compose based containers with sources inside WSL.
Don't know what was happened and triggered this error, a couple days ago everything worked fine.
The text was updated successfully, but these errors were encountered: