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

Error: Failed to create container #7804

Open
nymedina1243 opened this issue Mar 5, 2024 · 4 comments
Open

Error: Failed to create container #7804

nymedina1243 opened this issue Mar 5, 2024 · 4 comments

Comments

@nymedina1243
Copy link

Hello, i have this feilure :(

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-1709665519097/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-1709665519097 --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 attached de error Creation.log
If someone could help me i appreciate it:)

@nymedina1243 nymedina1243 changed the title Error #Failed to create container" Error: Failed to create container Mar 5, 2024
@redflAg00
Copy link

same, just set up a fresh codespace and i get this error

@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

@redflAg00
Copy link

fixed, thank you very much!

@mary11082002
Copy link

Same issue, and fixed through @deadmetal85 's suggestion. Many thanks!

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

4 participants