Skip to content

issue: could not resolve feature manifest #998

@georglauterbach

Description

@georglauterbach

I have seen a strange issue that I cannot explain properly. When using a Dev Container feature, on some devices, the Dev Container with that feature enabled would not start. Here is the log:

[2025-04-30T11:35:28.977Z] Start: Run: /bin/sh -c ~/gitrepos/PROJECT_NAME/.devcontainer/scripts/initialize_command.sh "~/gitrepos/PROJECT_NAME"
[2025-04-30T11:35:28.985Z] 2025-04-30T13:35:28.985071+02:00 INFO  Host initialization: Running pre-flight initialization on the host...
[2025-04-30T11:35:28.991Z] 2025-04-30T13:35:28.991173+02:00 INFO  Host initialization: Finished pre-flight initialization on the host
[2025-04-30T11:35:28.992Z] Stop (15 ms): Run: /bin/sh -c ~/gitrepos/PROJECT_NAME/.devcontainer/scripts/initialize_command.sh "~/gitrepos/PROJECT_NAME"
[2025-04-30T11:35:28.992Z] 
[2025-04-30T11:35:28.992Z] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=~/gitrepos/PROJECT_NAME --filter label=devcontainer.config_file=~/gitrepos/PROJECT_NAME/.devcontainer/yocto_scarthgap/devcontainer.json
[2025-04-30T11:35:29.009Z] Stop (17 ms): Run: docker ps -q -a --filter label=devcontainer.local_folder=~/gitrepos/PROJECT_NAME --filter label=devcontainer.config_file=~/gitrepos/PROJECT_NAME/.devcontainer/yocto_scarthgap/devcontainer.json
[2025-04-30T11:35:29.012Z] Start: Run: docker inspect --type image PRIVATE_REGISTRY/PRIVATE_IMAGE_WITH_TAG
[2025-04-30T11:35:29.029Z] Stop (17 ms): Run: docker inspect --type image PRIVATE_REGISTRY/PRIVATE_IMAGE_WITH_TAG
[2025-04-30T11:35:29.031Z] Resolving Feature dependencies for 'PRIVATE_REGISTRY/ghcr.io/georglauterbach/dev-container-features/cache-vscode-extensions:0.3.6'...
[2025-04-30T11:35:29.032Z] * Processing feature: PRIVATE_REGISTRY/ghcr.io/georglauterbach/dev-container-features/cache-vscode-extensions:0.3.6
[2025-04-30T11:35:29.039Z] Could not resolve Feature manifest for 'PRIVATE_REGISTRY/ghcr.io/georglauterbach/dev-container-features/cache-vscode-extensions:0.3.6'.  If necessary, provide registry credentials with 'docker login <registry>'.
[2025-04-30T11:35:29.039Z] Github feature.
[2025-04-30T11:35:29.039Z] Could not resolve Feature 'PRIVATE_REGISTRY/ghcr.io/georglauterbach/dev-container-features/cache-vscode-extensions:0.3.6'.  Ensure the Feature is published and accessible from your current environment.
[2025-04-30T11:35:29.041Z] Error: ERR: Feature 'PRIVATE_REGISTRY/ghcr.io/georglauterbach/dev-container-features/cache-vscode-extensions:0.3.6' could not be processed.  You may not have permission to access this Feature, or may not be logged in.  If the issue persists, report this to the Feature author.
[2025-04-30T11:35:29.041Z]     at FX (~/.vscode/extensions/ms-vscode-remote.remote-containers-0.409.0/dist/spec-node/devContainersSpecCLI.js:287:9690)
[2025-04-30T11:35:29.041Z]     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[2025-04-30T11:35:29.041Z]     at async eC (~/.vscode/extensions/ms-vscode-remote.remote-containers-0.409.0/dist/spec-node/devContainersSpecCLI.js:287:12258)
[2025-04-30T11:35:29.041Z]     at async vu (~/.vscode/extensions/ms-vscode-remote.remote-containers-0.409.0/dist/spec-node/devContainersSpecCLI.js:287:12484)
[2025-04-30T11:35:29.041Z]     at async Tu (~/.vscode/extensions/ms-vscode-remote.remote-containers-0.409.0/dist/spec-node/devContainersSpecCLI.js:392:1818)
[2025-04-30T11:35:29.042Z]     at async gC (~/.vscode/extensions/ms-vscode-remote.remote-containers-0.409.0/dist/spec-node/devContainersSpecCLI.js:395:2228)
[2025-04-30T11:35:29.042Z]     at async y6 (~/.vscode/extensions/ms-vscode-remote.remote-containers-0.409.0/dist/spec-node/devContainersSpecCLI.js:467:2453)
[2025-04-30T11:35:29.042Z]     at async dw (~/.vscode/extensions/ms-vscode-remote.remote-containers-0.409.0/dist/spec-node/devContainersSpecCLI.js:467:1886)
[2025-04-30T11:35:29.042Z]     at async Ix (~/.vscode/extensions/ms-vscode-remote.remote-containers-0.409.0/dist/spec-node/devContainersSpecCLI.js:467:608)
[2025-04-30T11:35:29.042Z]     at async H6 (~/.vscode/extensions/ms-vscode-remote.remote-containers-0.409.0/dist/spec-node/devContainersSpecCLI.js:484:3842)
[2025-04-30T11:35:29.053Z] Stop (410 ms): Run: /usr/share/code/code ~/.vscode/extensions/ms-vscode-remote.remote-containers-0.409.0/dist/spec-node/devContainersSpecCLI.js up --user-data-folder ~/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --container-session-data-folder /tmp/devcontainers-89dc265f-540d-4b42-8d0c-c92790374cfe1746012927590 --workspace-folder ~/gitrepos/PROJECT_NAME --workspace-mount-consistency cached --gpu-availability detect --id-label devcontainer.local_folder=~/gitrepos/PROJECT_NAME --id-label devcontainer.config_file=~/gitrepos/PROJECT_NAME/.devcontainer/yocto_scarthgap/devcontainer.json --log-level debug --log-format json --config ~/gitrepos/PROJECT_NAME/.devcontainer/yocto_scarthgap/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 --include-configuration --include-merged-configuration
[2025-04-30T11:35:29.053Z] Exit code 1
[2025-04-30T11:35:29.055Z] Command failed: /usr/share/code/code ~/.vscode/extensions/ms-vscode-remote.remote-containers-0.409.0/dist/spec-node/devContainersSpecCLI.js up --user-data-folder ~/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --container-session-data-folder /tmp/devcontainers-89dc265f-540d-4b42-8d0c-c92790374cfe1746012927590 --workspace-folder ~/gitrepos/PROJECT_NAME --workspace-mount-consistency cached --gpu-availability detect --id-label devcontainer.local_folder=~/gitrepos/PROJECT_NAME --id-label devcontainer.config_file=~/gitrepos/PROJECT_NAME/.devcontainer/yocto_scarthgap/devcontainer.json --log-level debug --log-format json --config ~/gitrepos/PROJECT_NAME/.devcontainer/yocto_scarthgap/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 --include-configuration --include-merged-configuration
[2025-04-30T11:35:29.055Z] Exit code 1

Docker is present in the same version on all machines: v28.0.4. The Dev Container extension for VS Code is installed in the latest version.

Could this somehow be related to proxies? I tried multiple proxy settings, but none worked on the machines affected by this issue. Do you have any idea what I should try next to get to the bottom of this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions