Error in step 7 of Usage (last step) opening Visual Studio Code in container #18
Replies: 2 comments 2 replies
-
can you check in the normal WSL terminal (so not inside the container) if you can do |
Beta Was this translation helpful? Give feedback.
-
Another student had a similar problem, I would like to refer you to the answer from there: #7. Please try the suggestion of @Huizerd first. If that does not work, we can look into it further. If nothing else works, then you will most likely have to delete your Ubuntu distribution and WSL2 as well and start from scratch. The README should now be updated to make sure that this doesn't happen again. Particularly, Step 2 in the Windows guide is of importance (see screenshot). I hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Could you please help me out? I get this error when I try to open Visual Studio Code in the container and I don't know how to solve it.
=> ERROR [dev_container_auto_added_stage_label 7/7] RUN conda env cre 2570.6s
Dockerfile-with-features:58
56 |
57 | COPY env.yml /tmp/conda-tmp/
58 | >>> RUN conda env create -f /tmp/conda-tmp/env.yml && rm -rf /tmp/conda-tmp
59 |
60 |
ERROR: failed to solve: process "/bin/sh -c conda env create -f /tmp/conda-tmp/env.yml && rm -rf /tmp/conda-tmp" did not complete successfully: exit code: 1
[3742406 ms] Error: Command failed: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-juliahuigen/container-features/0.69.0-1726212551981/Dockerfile-with-features -t vsc-ae4353-y24-d1bdec1eabdaf717c26912a2951c04b1127e2aa8a9cd26832c87fe5301377c9e --target dev_containers_target_stage --build-context dev_containers_feature_content_source=/tmp/devcontainercli-juliahuigen/container-features/0.69.0-1726212551981 --build-arg _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp /home/juliahuigen/AE4353-Y24
[3742407 ms] at FtA (/home/juliahuigen/.vscode-remote-containers/dist/dev-containers-cli-0.384.0/dist/spec-node/devContainersSpecCLI.js:466:1933)
[3742407 ms] at async Pm (/home/juliahuigen/.vscode-remote-containers/dist/dev-containers-cli-0.384.0/dist/spec-node/devContainersSpecCLI.js:465:1896)
[3742407 ms] at async NH (/home/juliahuigen/.vscode-remote-containers/dist/dev-containers-cli-0.384.0/dist/spec-node/devContainersSpecCLI.js:465:610)
[3742407 ms] at async YtA (/home/juliahuigen/.vscode-remote-containers/dist/dev-containers-cli-0.384.0/dist/spec-node/devContainersSpecCLI.js:482:3771)
[3742407 ms] at async eB (/home/juliahuigen/.vscode-remote-containers/dist/dev-containers-cli-0.384.0/dist/spec-node/devContainersSpecCLI.js:482:4886)
[3742407 ms] at async prA (/home/juliahuigen/.vscode-remote-containers/dist/dev-containers-cli-0.384.0/dist/spec-node/devContainersSpecCLI.js:663:200)
[3742407 ms] at async drA (/home/juliahuigen/.vscode-remote-containers/dist/dev-containers-cli-0.384.0/dist/spec-node/devContainersSpecCLI.js:662:14706)
[3742451 ms] Exit code 1
[3742807 ms] Command failed: /home/juliahuigen/.vscode-server/bin/4849ca9bdf9666755eb463db297b69e5385090e3/node /home/juliahuigen/.vscode-remote-containers/dist/dev-containers-cli-0.384.0/dist/spec-node/devContainersSpecCLI.js up --container-session-data-folder /tmp/devcontainers-fd5441e3-4919-4ffe-a473-508a60a00faa1726212540695 --workspace-folder /home/juliahuigen/AE4353-Y24 --workspace-mount-consistency cached --id-label devcontainer.local_folder=\wsl.localhost\Ubuntu\home\juliahuigen\AE4353-Y24 --id-label devcontainer.config_file=/home/juliahuigen/AE4353-Y24/.devcontainer/devcontainer.json --log-level debug --log-format json --config /home/juliahuigen/AE4353-Y24/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --mount type=bind,source=/run/user/1000/wayland-0,target=/tmp/vscode-wayland-1a712291-5abf-4adc-8154-9592e62761ff.sock --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root --include-configuration --include-merged-configuration
[3742807 ms] Exit code 1
Beta Was this translation helpful? Give feedback.
All reactions