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

Container build failed #7802

Open
dpdempsey opened this issue Mar 5, 2024 · 1 comment
Open

Container build failed #7802

dpdempsey opened this issue Mar 5, 2024 · 1 comment

Comments

@dpdempsey
Copy link

Hello

I am getting the following failure

Failed to create container.
Error: Command failed: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-root/container-features/0.56.1-1709619318612/Dockerfile-with-features -t vsc-mslearn-tailspin-spacegame-web-42613780e1c4f6c57367b982916b4b4d3ddecc07153e713342c64e7dddd8e4c6 --target dev_containers_target_stage --build-arg UPGRADE_PACKAGES=true --build-arg ARCH=x64 --build-arg AGENT_VERSION=2.206.1 --build-context dev_containers_feature_content_source=/tmp/devcontainercli-root/container-features/0.56.1-1709619318612 --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 /var/lib/docker/codespacemount/workspace/mslearn-tailspin-spacegame-web/.devcontainer
Error code: 1302 (UnifiedContainersErrorFatalCreatingContainer)
Container creation failed.

I have attached the creation.log.

Any help would be greatly appreciated.

creation.log

@deadmetal85
Copy link

Seems like its referencing the wrong image. You can try adding "-bullseye" to .devcontainer/Dockerfile.

It should look like this: FROM mcr.microsoft.com/devcontainers/dotnet:6.0-bullseye

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants