hexeth opened a new issue, #37180:
URL: https://github.com/apache/superset/issues/37180

   ### Bug description
   
   1. Try to create a new codespace.
   2. Get a build error: `The 'moby' option is not supported on Debian 'trixie' 
because 'moby-cli' and related system packages have been removed from that 
distribution.`
   
   ### Screenshots/recordings
   
   Full error in additional context
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   Not applicable
   
   ### Node version
   
   Not applicable
   
   ### Browser
   
   Not applicable
   
   ### Additional context
   
   
   Full error context
   ```
   #18 [dev_containers_target_stage 5/8] RUN 
--mount=type=bind,from=dev_containers_feature_content_source,source=docker-in-docker_1,target=/tmp/build-features-src/docker-in-docker_1
     cp -ar /tmp/build-features-src/docker-in-docker_1 
/tmp/dev-container-features  && chmod -R 0755 
/tmp/dev-container-features/docker-in-docker_1  && cd 
/tmp/dev-container-features/docker-in-docker_1  && chmod +x 
./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && 
rm -rf /tmp/dev-container-features/docker-in-docker_1
   #18 0.267 
===========================================================================
   #18 0.267 Feature       : Docker (Docker-in-Docker)
   #18 0.267 Description   : Create child containers *inside* a container, 
independent from the host's docker instance. Installs Docker extension in the 
container along with needed CLIs.
   #18 0.267 Id            : ghcr.io/devcontainers/features/docker-in-docker
   #18 0.267 Version       : 2.13.0
   #18 0.267 Documentation : 
********/devcontainers/features/tree/main/src/docker-in-docker
   #18 0.267 Options       :
   #18 0.267     VERSION="latest"
   #18 0.267     MOBY="********"
   #18 0.267     MOBYBUILDXVERSION="latest"
   #18 0.267     DOCKERDASHCOMPOSEVERSION="v2"
   #18 0.267     AZUREDNSAUTODETECTION="********"
   #18 0.267     DOCKERDEFAULTADDRESSPOOL=""
   #18 0.267     INSTALLDOCKERBUILDX="********"
   #18 0.267     INSTALLDOCKERCOMPOSESWITCH="********"
   #18 0.267     DISABLEIP6TABLES="false"
   #18 0.267 
===========================================================================
   #18 0.281 (!) The 'moby' option is not supported on Debian 'trixie' because 
'moby-cli' and related system packages have been removed from that distribution.
   #18 0.281 (!) To continue, either set the feature option '"moby": false' or 
use a different base image (for example: 'debian:bookworm' or 'ubuntu-24.04').
   #18 0.281 ERROR: Feature "Docker (Docker-in-Docker)" 
(ghcr.io/devcontainers/features/docker-in-docker) failed to install! Look at 
the documentation at 
********/devcontainers/features/tree/main/src/docker-in-docker for help 
troubleshooting this error.
   #18 ERROR: process "/bin/sh -c cp -ar 
/tmp/build-features-src/docker-in-docker_1 /tmp/dev-container-features  && 
chmod -R 0755 /tmp/dev-container-features/docker-in-docker_1  && cd 
/tmp/dev-container-features/docker-in-docker_1  && chmod +x 
./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && 
rm -rf /tmp/dev-container-features/docker-in-docker_1" did not complete 
successfully: exit code: 1
   ------
    > importing cache manifest from ghcr.io/********:devcontainer-base:
   ------
   ------
    > [dev_containers_target_stage 5/8] RUN 
--mount=type=bind,from=dev_containers_feature_content_source,source=docker-in-docker_1,target=/tmp/build-features-src/docker-in-docker_1
     cp -ar /tmp/build-features-src/docker-in-docker_1 
/tmp/dev-container-features  && chmod -R 0755 
/tmp/dev-container-features/docker-in-docker_1  && cd 
/tmp/dev-container-features/docker-in-docker_1  && chmod +x 
./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && 
rm -rf /tmp/dev-container-features/docker-in-docker_1:
   0.267     DOCKERDASHCOMPOSEVERSION="v2"
   0.267     AZUREDNSAUTODETECTION="********"
   0.267     DOCKERDEFAULTADDRESSPOOL=""
   0.267     INSTALLDOCKERBUILDX="********"
   0.267     INSTALLDOCKERCOMPOSESWITCH="********"
   0.267     DISABLEIP6TABLES="false"
   0.267 
===========================================================================
   0.281 (!) The 'moby' option is not supported on Debian 'trixie' because 
'moby-cli' and related system packages have been removed from that distribution.
   0.281 (!) To continue, either set the feature option '"moby": false' or use 
a different base image (for example: 'debian:bookworm' or 'ubuntu-24.04').
   0.281 ERROR: Feature "Docker (Docker-in-Docker)" 
(ghcr.io/devcontainers/features/docker-in-docker) failed to install! Look at 
the documentation at 
********/devcontainers/features/tree/main/src/docker-in-docker for help 
troubleshooting this error.
   ------
   Dockerfile-with-features:54
   --------------------
     53 |     ENV DOCKER_BUILDKIT="1"
     54 | >>> RUN 
--mount=type=bind,from=dev_containers_feature_content_source,source=docker-in-docker_1,target=/tmp/build-features-src/docker-in-docker_1
 \
     55 | >>>     cp -ar /tmp/build-features-src/docker-in-docker_1 
/tmp/dev-container-features \
     56 | >>>  && chmod -R 0755 /tmp/dev-container-features/docker-in-docker_1 \
     57 | >>>  && cd /tmp/dev-container-features/docker-in-docker_1 \
     58 | >>>  && chmod +x ./devcontainer-features-install.sh \
     59 | >>>  && ./devcontainer-features-install.sh \
     60 | >>>  && rm -rf /tmp/dev-container-features/docker-in-docker_1
     61 |     
   --------------------
   ERROR: failed to build: failed to solve: process "/bin/sh -c cp -ar 
/tmp/build-features-src/docker-in-docker_1 /tmp/dev-container-features  && 
chmod -R 0755 /tmp/dev-container-features/docker-in-docker_1  && cd 
/tmp/dev-container-features/docker-in-docker_1  && chmod +x 
./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && 
rm -rf /tmp/dev-container-features/docker-in-docker_1" did not complete 
successfully: exit code: 1
   [98614 ms] Stop: Run: docker buildx build --load --build-arg 
BUILDKIT_INLINE_CACHE=1 -f 
/tmp/devcontainercli-root/container-features/0.80.3-1768513522752/Dockerfile-with-features
 -t 
vsc-superset-a6e9154e658f2932d83986821c1379d282ca37e138bec13879091eecd5057a65 
--target dev_containers_target_stage --cache-from 
ghcr.io/********:devcontainer-base --build-context 
dev_containers_feature_content_source=/tmp/devcontainercli-root/container-features/0.80.3-1768513522752
 --build-arg _DEV_CONTAINERS_BASE_IMAGE=base --build-arg 
_DEV_CONTAINERS_IMAGE_USER=root --build-arg 
_DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp 
/var/lib/docker/codespacemount/workspace/superset/.devcontainer
   {"outcome":"error","message":"Command failed: docker buildx build --load 
--build-arg BUILDKIT_INLINE_CACHE=1 -f 
/tmp/devcontainercli-root/container-features/0.80.3-1768513522752/Dockerfile-with-features
 -t 
vsc-superset-a6e9154e658f2932d83986821c1379d282ca37e138bec13879091eecd5057a65 
--target dev_containers_target_stage --cache-from 
ghcr.io/apache/superset:devcontainer-base --build-context 
dev_containers_feature_content_source=/tmp/devcontainercli-root/container-features/0.80.3-1768513522752
 --build-arg _DEV_CONTAINERS_BASE_IMAGE=base --build-arg 
_DEV_CONTAINERS_IMAGE_USER=root --build-arg 
_DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp 
/var/lib/docker/codespacemount/workspace/superset/.devcontainer","description":"An
 error occurred building the image."}
   Error: Command failed: docker buildx build --load --build-arg 
BUILDKIT_INLINE_CACHE=1 -f 
/tmp/devcontainercli-root/container-features/0.80.3-1768513522752/Dockerfile-with-features
 -t 
vsc-superset-a6e9154e658f2932d83986821c1379d282ca37e138bec13879091eecd5057a65 
--target dev_containers_target_stage --cache-from 
ghcr.io/apache/superset:devcontainer-base --build-context 
dev_containers_feature_content_source=/tmp/devcontainercli-root/container-features/0.80.3-1768513522752
 --build-arg _DEV_CONTAINERS_BASE_IMAGE=base --build-arg 
_DEV_CONTAINERS_IMAGE_USER=root --build-arg 
_DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp 
/var/lib/docker/codespacemount/workspace/superset/.devcontainer
       at R6 
(/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:468:1988)
       at process.processTicksAndRejections 
(node:internal/process/task_queues:95:5)
       at async pw 
(/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:467:1886)
       at async Cx 
(/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:467:608)
       at async P6 
(/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:485:3842)
       at async CC 
(/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:485:4957)
       at async w7 
(/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:666:202)
       at async D7 
(/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:665:14804)
       at async 
/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:485:1188
   devcontainer process exited with exit code 1
   Failed to create container.
   Error: Command failed: docker buildx build --load --build-arg 
BUILDKIT_INLINE_CACHE=1 -f 
/tmp/devcontainercli-root/container-features/0.80.3-1768513522752/Dockerfile-with-features
 -t 
vsc-superset-a6e9154e658f2932d83986821c1379d282ca37e138bec13879091eecd5057a65 
--target dev_containers_target_stage --cache-from 
ghcr.io/apache/superset:devcontainer-base --build-context 
dev_containers_feature_content_source=/tmp/devcontainercli-root/container-features/0.80.3-1768513522752
 --build-arg _DEV_CONTAINERS_BASE_IMAGE=base --build-arg 
_DEV_CONTAINERS_IMAGE_USER=root --build-arg 
_DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp 
/var/lib/docker/codespacemount/workspace/superset/.devcontainer
   Error code: 1302 (UnifiedContainersErrorFatalCreatingContainer)
   Container creation failed.
   ```
   
   ### Checklist
   
   - [x] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [x] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to