microsoft / microsoft/template-validation-action
Validation failure during build image
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 24
- Forks
- 11
- Avg merge
- 17h 10m
- Merged PRs (30d)
- 1
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the workflow or dev container configuration used by the linked template-validation action run and inspect its Docker-in-Docker feature options and Python base image. Reproduce the build, then verify that validation completes successfully without the Debian trixie Moby-package failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, github-actions, python
- Domain
- build-system, ci-cd, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 40/100