Skip to content

Validation failure during build image #92

Description

@LianwMS

https://github.com/Azure-Samples/azure-search-openai-demo-purviewdatasecurity

[2025-10-27T19:37:16.384Z] #16 0.139 Feature : Docker (Docker-in-Docker)
#16 0.139 Description : Create child containers inside a container, independent from the host's docker instance. Installs Docker extension in the container along with needed CLIs.
#16 0.139 Id : ghcr.io/devcontainers/features/docker-in-docker
#16 0.139 Version : 2.12.4
#16 0.139 Documentation : https://github.com/devcontainers/features/tree/main/src/docker-in-docker
#16 0.139 Options :
#16 0.139 VERSION="latest"
#16 0.139 MOBY="true"
#16 0.139 MOBYBUILDXVERSION="latest"
#16 0.139 DOCKERDASHCOMPOSEVERSION="v2"
#16 0.139 AZUREDNSAUTODETECTION="true"
#16 0.139 DOCKERDEFAULTADDRESSPOOL=""
#16 0.139 INSTALLDOCKERBUILDX="true"

[2025-10-27T19:37:16.386Z]
#16 0.139 INSTALLDOCKERCOMPOSESWITCH="true"
#16 0.139 DISABLEIP6TABLES="false"
#16 0.139 ===========================================================================
#16 0.151 (!) The 'moby' option is not supported on Debian 'trixie' because 'moby-cli' and related system packages have been removed from that distribution.
#16 0.151 (!) To continue, either set the feature option '"moby": false' or use a different base image (for example: 'debian:bookworm' or 'ubuntu-24.04').
#16 0.152 ERROR: Feature "Docker (Docker-in-Docker)" (ghcr.io/devcontainers/features/docker-in-docker) failed to install! Look at the documentation at https://github.com/devcontainers/features/tree/main/src/docker-in-docker for help troubleshooting this error.
#16 ERROR: process "/bin/sh -c cp -ar /tmp/build-features-src/docker-in-docker_2 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/docker-in-docker_2 && cd /tmp/dev-container-features/docker-in-docker_2 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/docker-in-docker_2" did not complete successfully: exit code: 1

[dev_containers_target_stage 7/8] RUN --mount=type=bind,from=dev_containers_feature_content_source,source=docker-in-docker_2,target=/tmp/build-features-src/docker-in-docker_2 cp -ar /tmp/build-features-src/docker-in-docker_2 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/docker-in-docker_2 && cd /tmp/dev-container-features/docker-in-docker_2 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/docker-in-docker_2:

[2025-10-27T19:37:16.387Z] 0.139 DOCKERDASHCOMPOSEVERSION="v2"
0.139 AZUREDNSAUTODETECTION="true"
0.139 DOCKERDEFAULTADDRESSPOOL=""
0.139 INSTALLDOCKERBUILDX="true"
0.139 INSTALLDOCKERCOMPOSESWITCH="true"
0.139 DISABLEIP6TABLES="false"
0.139 ===========================================================================
0.151 (!) The 'moby' option is not supported on Debian 'trixie' because 'moby-cli' and related system packages have been removed from that distribution.
0.151 (!) To continue, either set the feature option '"moby": false' or use a different base image (for example: 'debian:bookworm' or 'ubuntu-24.04').
0.152 ERROR: Feature "Docker (Docker-in-Docker)" (ghcr.io/devcontainers/features/docker-in-docker) failed to install! Look at the documentation at https://github.com/devcontainers/features/tree/main/src/docker-in-docker for help troubleshooting this error.

[2025-10-27T19:37:16.397Z] ERROR: failed to build: failed to solve: process "/bin/sh -c cp -ar /tmp/build-features-src/docker-in-docker_2 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/docker-in-docker_2 && cd /tmp/dev-container-features/docker-in-docker_2 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/docker-in-docker_2" did not complete successfully: exit code: 1

[2025-10-27T19:37:16.408Z] Exit code 1

Error: Dev container build failed: Command failed: docker buildx build --load --build-context dev_containers_feature_content_source=/tmp/devcontainercli-runner/container-features/0.80.1-1761593834323 --build-arg _DEV_CONTAINERS_BASE_IMAGE=mcr.microsoft.com/devcontainers/python:3.11 --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp --target dev_containers_target_stage -f /tmp/devcontainercli-runner/container-features/0.80.1-1761593834323/Dockerfile.extended -t undefined:latest /tmp/devcontainercli-runner/empty-folder (exit code: undefined)
An error occurred building the container.
Error: Command failed: docker buildx build --load --build-context dev_containers_feature_content_source=/tmp/devcontainercli-runner/container-features/0.80.1-1761593834323 --build-arg _DEV_CONTAINERS_BASE_IMAGE=mcr.microsoft.com/devcontainers/python:3.11 --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp --target dev_containers_target_stage -f /tmp/devcontainercli-runner/container-features/0.80.1-1761593834323/Dockerfile.extended -t undefined:latest /tmp/devcontainercli-runner/empty-folder

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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