devcontainers / devcontainers/features

[desktop-lite] Feature "Light-weight Desktop" (ghcr.io/devcontainers/features/desktop-lite) failed to install!

Open
#728 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
1.5k
Forks
621
Avg merge
2d 11h
Merged PRs (30d)
4

Description

The desktop-lite plugin was installing perfectly fine in our devcontainer until about a week or so ago (Oct 11 was the first report). The plugin stopped working with no configuration changes on our end. This is the error we are receiving:

```
#0 80.84 Errors were encountered while processing:

#0 80.84 /tmp/apt-dpkg-install-XNTi4y/0-systemd_254.5-1_amd64.deb

#0 80.93 E: Sub-process /usr/bin/dpkg returned an error code (1)
#0 80.93 ERROR: Feature "Light-weight Desktop" (ghcr.io/devcontainers/features/desktop-lite) failed to install! Look at the documentation at https://github.com/devcontainers/features/tree/main/src/desktop-lite for help troubleshooting this error.
------
[2023-10-18T19:01:26.304Z] ERROR: failed to solve: executor failed running [/bin/sh -c cp -ar /tmp/build-features-src/desktop-lite_0 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/desktop-lite_0 && cd /tmp/dev-container-features/desktop-lite_0 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/desktop-lite_0]: exit code: 100
[2023-10-18T19:01:26.313Z] Stop (82263 ms): Run: docker buildx build --load --build-context dev_containers_feature_content_source=/var/folders/8c/cq9c3yyx53qb60531ct1b8w00000gn/T/devcontainercli/container-features/0.51.3-1697655600148 --build-arg _DEV_CONTAINERS_BASE_IMAGE=ghcr.io/[org]/dk-frontend-devcontainer:latest --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp --target dev_containers_target_stage -t vsc-c3-feo-ui-cdc3b811a1b769ce27865a3438d98778f215e2661849a3aa425680d5afc0d196-features -f /var/folders/8c/cq9c3yyx53qb60531ct1b8w00000gn/T/devcontainercli/container-features/0.51.3-1697655600148/Dockerfile.extended /Users/chasesandmann/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data/empty-folder
[2023-10-18T19:01:26.313Z] Error: Command failed: docker buildx build --load --build-context dev_containers_feature_content_source=/var/folders/8c/cq9c3yyx53qb60531ct1b8w00000gn/T/devcontainercli/container-features/0.51.3-1697655600148 --build-arg _DEV_CONTAINERS_BASE_IMAGE=ghcr.io/[org]/dk-frontend-devcontainer:latest --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp --target dev_containers_target_stage -t vsc-c3-feo-ui-cdc3b811a1b769ce27865a3438d98778f215e2661849a3aa425680d5afc0d196-features -f /var/folders/8c/cq9c3yyx53qb60531ct1b8w00000gn/T/devcontainercli/container-features/0.51.3-1697655600148/Dockerfile.extended /Users/chasesandmann/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data/empty-folder
[2023-10-18T19:01:26.313Z] at IAA (/Users/chasesandmann/.vscode/extensions/ms-vscode-remote.remote-containers-0.315.1/dist/spec-node/devContainersSpecCLI.js:462:1066)
[2023-10-18T19:01:26.314Z] at SK (/Users/chasesandmann/.vscode/extensions/ms-vscode-remote.remote-containers-0.315.1/dist/spec-node/devContainersSpecCLI.js:462:1002)
[2023-10-18T19:01:26.314Z] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[2023-10-18T19:01:26.314Z] at async SAA (/Users/chasesandmann/.vscode/extensions/ms-vscode-remote.remote-containers-0.315.1/dist/spec-node/devContainersSpecCLI.js:479:3660)
[2023-10-18T19:01:26.314Z] at async GC (/Users/chasesandmann/.vscode/extensions/ms-vscode-remote.remote-containers-0.315.1/dist/spec-node/devContainersSpecCLI.js:479:4775)
[2023-10-18T19:01:26.314Z] at async ZeA (/Users/chasesandmann/.vscode/extensions/ms-vscode-remote.remote-containers-0.315.1/dist/spec-node/devContainersSpecCLI.js:611:12251)
[2023-10-18T19:01:26.314Z] at async VeA (/Users/chasesandmann/.vscode/extensions/ms-vscode-remote.remote-containers-0.315.1/dist/spec-node/devContainersSpecCLI.js:611:11992)
[2023-10-18T19:01:26.320Z] Stop (88684 ms): Run: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/chasesandmann/.vscode/extensions/ms-vscode-remote.remote-containers-0.315.1/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /Users/chasesandmann/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --container-session-data-folder /tmp/devcontainers-60d080fc-6552-4c4d-a87e-fbcca4201b7b1697655596110 --workspace-folder /Users/chasesandmann/aa/c3-feo-ui --workspace-mount-consistency cached --id-label devcontainer.local_folder=/Users/chasesandmann/aa/c3-feo-ui --id-label devcontainer.config_file=/Users/chasesandmann/aa/c3-feo-ui/.devcontainer/devcontainer.json --log-level debug --log-format json --config /Users/chasesandmann/aa/c3-feo-ui/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root
[2023-10-18T19:01:26.321Z] Exit code 1
[2023-10-18T19:01:26.323Z] Command failed: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/chasesandmann/.vscode/extensions/ms-vscode-remote.remote-containers-0.315.1/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /Users/chasesandmann/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --container-session-data-folder /tmp/devcontainers-60d080fc-6552-4c4d-a87e-fbcca4201b7b1697655596110 --workspace-folder /Users/chasesandmann/aa/c3-feo-ui --workspace-mount-consistency cached --id-label devcontainer.local_folder=/Users/chasesandmann/aa/c3-feo-ui --id-label devcontainer.config_file=/Users/chasesandmann/aa/c3-feo-ui/.devcontainer/devcontainer.json --log-level debug --log-format json --config /Users/chasesandmann/aa/c3-feo-ui/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root
[2023-10-18T19:01:26.323Z] Exit code 1
[2023-10-18T19:01:55.511Z] Error opening dev container configurations: CodeExpectedError: ENOPRO: No file system provider found for resource 'vscode-remote://dev-container%2B7b22686f737450617468223a222f55736572732f636861736573616e646d616e6e2f61612f63332d66656f2d7569222c226c6f63616c446f636b6572223a66616c73652c22636f6e66696746696c65223a7b22246d6964223a312c22667350617468223a222f55736572732f636861736573616e646d616e6e2f61612f63332d66656f2d75692f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c2265787465726e616c223a2266696c653a2f2f2f55736572732f636861736573616e646d616e6e2f61612f63332d66656f2d75692f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c2270617468223a222f55736572732f636861736573616e646d616e6e2f61612f63332d66656f2d75692f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a2266696c65227d7d/workspaces/c3-feo-ui'
at r.j (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:645:11397)
at async r.exists (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:645:13603)
at async Promise.all (index 0)
at async vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1861:2796
```

We didn't change anything in terms of our devcontainer or docker image configuration, so we have no leads on how to resolve this. Did something change on the devcontainer side?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.