features icon indicating copy to clipboard operation
features copied to clipboard

devcontainer with docker-in-docker feature doesn't start anymore

Open dezzeus opened this issue 1 year ago • 7 comments

Devcontainer in VSCode with the docker-in-docker feature stopped working with no apparent reason; The only things that I can think of is that I have updated Docker Desktop (MacOS) and installed a minor security update of the host OS (13.6.4). The same setup has been working for several months…

I have already cleaned Docker Desktop from volumes and images…

[81 ms] Dev Containers 0.338.1 in VS Code 1.86.0 (05047486b6df5eb8d44b2ecd70ea3bdf775fd937).
[80 ms] Start: Risoluzione remota
[82 ms] Setting up container for folder or workspace: /Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME
[82 ms] Context: desktop-linux
[83 ms] Start: Check Docker is running
[83 ms] Start: Run: docker version
[123 ms] Client:
 Cloud integration: v1.0.35+desktop.10
 Version:           25.0.1
 API version:       1.44
 Go version:        go1.21.6
 Git commit:        29cf629
 Built:             Tue Jan 23 23:06:12 2024
 OS/Arch:           darwin/arm64
 Context:           desktop-linux

Server: Docker Desktop 4.27.0 (135262)
 Engine:
  Version:          25.0.1
  API version:      1.44 (minimum version 1.24)
  Go version:       go1.21.6
  Git commit:       71fa3ab
  Built:            Tue Jan 23 23:09:35 2024
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.6.27
  GitCommit:        a1496014c916f9e62104b33d1bb5bd03b0858e59
 runc:
  Version:          1.1.11
  GitCommit:        v1.1.11-0-g4bccb38
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
[125 ms] Start: Run: docker volume ls -q
[161 ms] Start: Run: docker ps -q -a --filter label=vsch.local.folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --filter label=vsch.quality=stable
[200 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --filter label=devcontainer.config_file=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json
[237 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME
[276 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME
[314 ms] Start: Run: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) /Users/dezzeus/.vscode/extensions/ms-vscode-remote.remote-containers-0.338.1/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --id-label devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --id-label devcontainer.config_file=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json --log-level debug --log-format json --config /Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json --mount-workspace-git-root
[479 ms] @devcontainers/cli 0.56.0. Node.js v18.17.1. darwin 22.6.0 arm64.
[479 ms] Start: Run: git rev-parse --show-cdup
[487 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --filter label=devcontainer.config_file=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json
[590 ms] Start: Run: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) /Users/dezzeus/.vscode/extensions/ms-vscode-remote.remote-containers-0.338.1/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /Users/dezzeus/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --container-session-data-folder /tmp/devcontainers-40524d32-6ef3-44fa-8796-e792179348531707127769368 --workspace-folder /Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --workspace-mount-consistency cached --id-label devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --id-label devcontainer.config_file=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json --log-level debug --log-format json --config /Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root
[755 ms] @devcontainers/cli 0.56.0. Node.js v18.17.1. darwin 22.6.0 arm64.
[755 ms] Start: Run: docker buildx version
[918 ms] github.com/docker/buildx v0.12.1-desktop.4 6996841df2f61988c2794d84d33205368f96c317
[918 ms] 
[918 ms] Start: Resolving Remote
[919 ms] Start: Run: git rev-parse --show-cdup
[927 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --filter label=devcontainer.config_file=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json
[965 ms] Start: Run: docker inspect --type image mcr.microsoft.com/devcontainers/base:bookworm
[1005 ms] Resolving Feature dependencies for 'ghcr.io/devcontainers/features/docker-in-docker:2'...
[1005 ms] * Processing feature: ghcr.io/devcontainers/features/docker-in-docker:2
[1202 ms] Start: Run: docker-credential-desktop get
[1800 ms] * Processing feature: ghcr.io/devcontainers/features/common-utils
[76804 ms] Error: connect ETIMEDOUT 140.82.121.34:443
[76805 ms]     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16)
[76813 ms] Exit code 1
[76815 ms] Command failed: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) /Users/dezzeus/.vscode/extensions/ms-vscode-remote.remote-containers-0.338.1/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /Users/dezzeus/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --container-session-data-folder /tmp/devcontainers-40524d32-6ef3-44fa-8796-e792179348531707127769368 --workspace-folder /Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --workspace-mount-consistency cached --id-label devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --id-label devcontainer.config_file=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json --log-level debug --log-format json --config /Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root
[76816 ms] Exit code 1

dezzeus avatar Feb 05 '24 10:02 dezzeus

This does not seem to be related to docker-in-docker but most features. common-utils and docker-outside-of-docker are others that manifest the same issue.

yogaxpto avatar Feb 05 '24 15:02 yogaxpto

Hello 👋

Processing feature: ghcr.io/devcontainers/features/common-utils [76804 ms] Error: connect ETIMEDOUT 140.82.121.34:443 [76805 ms] at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16)

This error message looks related to a network issue and the error could be due to a number of reasons such as a network outage, firewall blocking the connection, the server at 140.82.121.34 not responding, etc.

Features worked great for me now. @dezzeus @yogaxpto are you still facing the issue? Not sure if this was only flakey for a bit.

samruddhikhandale avatar Feb 05 '24 23:02 samruddhikhandale

Yeah, and it seems to stop even earlier in the process:

[53 ms] Dev Containers 0.338.1 in VS Code 1.86.0 (05047486b6df5eb8d44b2ecd70ea3bdf775fd937).
[53 ms] Start: Risoluzione remota
[54 ms] Setting up container for folder or workspace: /Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME
[54 ms] Context: desktop-linux
[55 ms] Start: Check Docker is running
[55 ms] Start: Run: docker version
[102 ms] Client:
 Cloud integration: v1.0.35+desktop.10
 Version:           25.0.1
 API version:       1.44
 Go version:        go1.21.6
 Git commit:        29cf629
 Built:             Tue Jan 23 23:06:12 2024
 OS/Arch:           darwin/arm64
 Context:           desktop-linux

Server: Docker Desktop 4.27.0 (135262)
 Engine:
  Version:          25.0.1
  API version:      1.44 (minimum version 1.24)
  Go version:       go1.21.6
  Git commit:       71fa3ab
  Built:            Tue Jan 23 23:09:35 2024
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.6.27
  GitCommit:        a1496014c916f9e62104b33d1bb5bd03b0858e59
 runc:
  Version:          1.1.11
  GitCommit:        v1.1.11-0-g4bccb38
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
[104 ms] Start: Run: docker volume ls -q
[145 ms] Start: Run: docker ps -q -a --filter label=vsch.local.folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --filter label=vsch.quality=stable
[186 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --filter label=devcontainer.config_file=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json
[228 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME
[276 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME
[327 ms] Start: Run: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) /Users/dezzeus/.vscode/extensions/ms-vscode-remote.remote-containers-0.338.1/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --id-label devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --id-label devcontainer.config_file=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json --log-level debug --log-format json --config /Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json --mount-workspace-git-root
[491 ms] @devcontainers/cli 0.56.0. Node.js v18.17.1. darwin 22.6.0 arm64.
[491 ms] Start: Run: git rev-parse --show-cdup
[499 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --filter label=devcontainer.config_file=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json
[1033 ms] Start: Run: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) /Users/dezzeus/.vscode/extensions/ms-vscode-remote.remote-containers-0.338.1/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /Users/dezzeus/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --container-session-data-folder /tmp/devcontainers-69f10c83-a551-4477-9736-6e84205b80ca1707210908087 --workspace-folder /Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --workspace-mount-consistency cached --id-label devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --id-label devcontainer.config_file=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json --log-level debug --log-format json --config /Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root
[1216 ms] @devcontainers/cli 0.56.0. Node.js v18.17.1. darwin 22.6.0 arm64.
[1216 ms] Start: Run: docker buildx version
[2157 ms] github.com/docker/buildx v0.12.1-desktop.4 6996841df2f61988c2794d84d33205368f96c317
[2157 ms] 
[2157 ms] Start: Resolving Remote
[2159 ms] Start: Run: git rev-parse --show-cdup
[2413 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --filter label=devcontainer.config_file=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json
[2470 ms] Start: Run: docker inspect --type image mcr.microsoft.com/devcontainers/base:bookworm
[2518 ms] Resolving Feature dependencies for 'ghcr.io/devcontainers/features/docker-in-docker:2'...
[2519 ms] * Processing feature: ghcr.io/devcontainers/features/docker-in-docker:2
[2835 ms] Start: Run: docker-credential-desktop get
[78095 ms] Error: connect ETIMEDOUT 140.82.121.33:443
[78095 ms]     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16)
[78102 ms] Exit code 1
[78106 ms] Command failed: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) /Users/dezzeus/.vscode/extensions/ms-vscode-remote.remote-containers-0.338.1/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /Users/dezzeus/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --container-session-data-folder /tmp/devcontainers-69f10c83-a551-4477-9736-6e84205b80ca1707210908087 --workspace-folder /Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --workspace-mount-consistency cached --id-label devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --id-label devcontainer.config_file=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json --log-level debug --log-format json --config /Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root
[78106 ms] Exit code 1

dezzeus avatar Feb 06 '24 09:02 dezzeus

I took into consideration the issue of it being a network problem and after a reboot and a DNS flush, I ran Dev Containers: Rebuild Container Without Cache and it worked for me.

yogaxpto avatar Feb 06 '24 09:02 yogaxpto

Actually the previous strategy only worked sometimes. It seems that the connection issue can still be reproduced.

yogaxpto avatar Feb 06 '24 11:02 yogaxpto

The rebuild without cache produced another Python error in the docker-in-docker feature:

[57 ms] Dev Containers 0.338.1 in VS Code 1.86.0 (05047486b6df5eb8d44b2ecd70ea3bdf775fd937).
[57 ms] Start: Risoluzione remota
[59 ms] Setting up container for folder or workspace: /Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME
[60 ms] Context: desktop-linux
[60 ms] Start: Check Docker is running
[60 ms] Start: Run: docker version
[109 ms] Client:
 Cloud integration: v1.0.35+desktop.10
 Version:           25.0.1
 API version:       1.44
 Go version:        go1.21.6
 Git commit:        29cf629
 Built:             Tue Jan 23 23:06:12 2024
 OS/Arch:           darwin/arm64
 Context:           desktop-linux

Server: Docker Desktop 4.27.0 (135262)
 Engine:
  Version:          25.0.1
  API version:      1.44 (minimum version 1.24)
  Go version:       go1.21.6
  Git commit:       71fa3ab
  Built:            Tue Jan 23 23:09:35 2024
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.6.27
  GitCommit:        a1496014c916f9e62104b33d1bb5bd03b0858e59
 runc:
  Version:          1.1.11
  GitCommit:        v1.1.11-0-g4bccb38
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
[111 ms] Start: Run: docker volume ls -q
[156 ms] Start: Run: docker ps -q -a --filter label=vsch.local.folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --filter label=vsch.quality=stable
[200 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --filter label=devcontainer.config_file=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json
[244 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME
[290 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME
[334 ms] Start: Run: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) /Users/dezzeus/.vscode/extensions/ms-vscode-remote.remote-containers-0.338.1/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --id-label devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --id-label devcontainer.config_file=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json --log-level debug --log-format json --config /Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json --mount-workspace-git-root
[490 ms] @devcontainers/cli 0.56.0. Node.js v18.17.1. darwin 22.6.0 arm64.
[490 ms] Start: Run: git rev-parse --show-cdup
[499 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --filter label=devcontainer.config_file=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json
[601 ms] Start: Run: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) /Users/dezzeus/.vscode/extensions/ms-vscode-remote.remote-containers-0.338.1/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /Users/dezzeus/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --container-session-data-folder /tmp/devcontainers-ab9d3ceb-221f-4f02-85f6-7b654097c1dd1707218670701 --workspace-folder /Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --workspace-mount-consistency cached --id-label devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --id-label devcontainer.config_file=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json --log-level debug --log-format json --config /Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root
[759 ms] @devcontainers/cli 0.56.0. Node.js v18.17.1. darwin 22.6.0 arm64.
[758 ms] Start: Run: docker buildx version
[1705 ms] github.com/docker/buildx v0.12.1-desktop.4 6996841df2f61988c2794d84d33205368f96c317
[1705 ms] 
[1705 ms] Start: Resolving Remote
[1706 ms] Start: Run: git rev-parse --show-cdup
[1714 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --filter label=devcontainer.config_file=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json
[1761 ms] Start: Run: docker inspect --type image mcr.microsoft.com/devcontainers/base:bookworm
[1807 ms] Resolving Feature dependencies for 'ghcr.io/devcontainers/features/docker-in-docker:2'...
[1807 ms] * Processing feature: ghcr.io/devcontainers/features/docker-in-docker:2
[1978 ms] Start: Run: docker-credential-desktop get
[2528 ms] * Processing feature: ghcr.io/devcontainers/features/common-utils
[2805 ms] Soft-dependency 'ghcr.io/devcontainers/features/common-utils' is not required.  Removing from installation order...
[2815 ms] * Fetching feature: docker-in-docker_0_oci
[3160 ms] * Fetched feature: docker-in-docker_0_oci version 2.8.0
[3164 ms] Start: Run: docker buildx build --load --build-context dev_containers_feature_content_source=/var/folders/27/2njr6zys3b710n2zbcy77p5r0000gn/T/devcontainercli/container-features/0.56.0-1707218672858 --build-arg _DEV_CONTAINERS_BASE_IMAGE=mcr.microsoft.com/devcontainers/base:bookworm --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp --target dev_containers_target_stage -t vsc-smilee-v2-1697717d24683cfde57ff554bb093e8edc64792356acc7e51235b04ecdd1c98e-features -f /var/folders/27/2njr6zys3b710n2zbcy77p5r0000gn/T/devcontainercli/container-features/0.56.0-1707218672858/Dockerfile.extended /Users/dezzeus/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data/empty-folder
[+] Building 43.3s (14/14) FINISHED                        docker:desktop-linux
 => [internal] load build definition from Dockerfile.extended              0.0s
 => => transferring dockerfile: 2.51kB                                     0.0s
 => resolve image config for docker.io/docker/dockerfile:1.4               1.1s
 => CACHED docker-image://docker.io/docker/dockerfile:1.4@sha256:9ba7531b  0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for mcr.microsoft.com/devcontainers/base:boo  0.0s
 => [context dev_containers_feature_content_source] load .dockerignore     0.0s
 => => transferring dev_containers_feature_content_source: 2B              0.0s
 => [context dev_containers_feature_content_source] load from client       0.0s
 => => transferring dev_containers_feature_content_source: 34.69kB         0.0s
 => [dev_containers_feature_content_normalize 1/3] FROM mcr.microsoft.com  0.0s
 => [dev_containers_feature_content_normalize 2/3] COPY --from=dev_contai  0.0s
 => [dev_containers_target_stage 2/5] RUN mkdir -p /tmp/dev-container-fea  0.1s
 => [dev_containers_feature_content_normalize 3/3] RUN chmod -R 0755 /tmp  0.2s
 => [dev_containers_target_stage 3/5] COPY --from=dev_containers_feature_  0.0s
 => [dev_containers_target_stage 4/5] RUN echo "_CONTAINER_USER_HOME=$( (  0.3s
 => ERROR [dev_containers_target_stage 5/5] RUN --mount=type=bind,from=d  41.6s
------                                                                          
 > [dev_containers_target_stage 5/5] RUN --mount=type=bind,from=dev_containers_feature_content_source,source=docker-in-docker_0,target=/tmp/build-features-src/docker-in-docker_0     cp -ar /tmp/build-features-src/docker-in-docker_0 /tmp/dev-container-features  && chmod -R 0755 /tmp/dev-container-features/docker-in-docker_0  && cd /tmp/dev-container-features/docker-in-docker_0  && chmod +x ./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && rm -rf /tmp/dev-container-features/docker-in-docker_0:
0.230 ===========================================================================
0.230 Feature       : Docker (Docker-in-Docker)
0.230 Description   : Create child containers *inside* a container, independent from the host's docker instance. Installs Docker extension in the container along with needed CLIs.
0.230 Id            : ghcr.io/devcontainers/features/docker-in-docker
0.230 Version       : 2.8.0
0.230 Documentation : https://github.com/devcontainers/features/tree/main/src/docker-in-docker
0.230 Options       :
0.230     VERSION="latest"
0.230     MOBY="true"
0.230     DOCKERDASHCOMPOSEVERSION="v2"
0.230     AZUREDNSAUTODETECTION="true"
0.230     DOCKERDEFAULTADDRESSPOOL=""
0.230     INSTALLDOCKERBUILDX="true"
0.230 ===========================================================================
0.241 Distro codename  'bookworm'  matched filter  'bookworm buster bullseye bionic focal jammy'
0.248 find: '/var/lib/apt/lists/*': No such file or directory
0.248 Running apt-get update...
0.381 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
0.425 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
0.471 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
0.494 Get:4 http://deb.debian.org/debian bookworm/main arm64 Packages [8685 kB]
1.973 Get:5 http://deb.debian.org/debian bookworm-updates/main arm64 Packages [12.5 kB]
1.974 Get:6 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [134 kB]
2.682 Fetched 9083 kB in 2s (3796 kB/s)
2.682 Reading package lists...
2.965 Reading package lists...
3.253 Building dependency tree...
3.333 Reading state information...
3.425 apt-transport-https is already the newest version (2.6.1).
3.425 curl is already the newest version (7.88.1-10+deb12u5).
3.425 ca-certificates is already the newest version (20230311).
3.425 gnupg2 is already the newest version (2.2.40-1.1).
3.425 dirmngr is already the newest version (2.2.40-1.1).
3.425 wget is already the newest version (1.21.3-1+b1).
3.425 The following additional packages will be installed:
3.425   libip4tc2 libip6tc2 libnetfilter-conntrack3 libnfnetlink0 libnftnl11
3.426 Suggested packages:
3.426   firewalld kmod
3.426 Recommended packages:
3.426   nftables
3.462 The following NEW packages will be installed:
3.462   iptables libip4tc2 libip6tc2 libnetfilter-conntrack3 libnfnetlink0
3.462   libnftnl11 pigz
3.514 0 upgraded, 7 newly installed, 0 to remove and 6 not upgraded.
3.514 Need to get 556 kB of archives.
3.514 After this operation, 9477 kB of additional disk space will be used.
3.514 Get:1 http://deb.debian.org/debian bookworm/main arm64 pigz arm64 2.6-1 [56.2 kB]
3.542 Get:2 http://deb.debian.org/debian bookworm/main arm64 libip4tc2 arm64 1.8.9-2 [18.5 kB]
3.548 Get:3 http://deb.debian.org/debian bookworm/main arm64 libip6tc2 arm64 1.8.9-2 [18.7 kB]
3.550 Get:4 http://deb.debian.org/debian bookworm/main arm64 libnfnetlink0 arm64 1.0.2-2 [14.5 kB]
3.552 Get:5 http://deb.debian.org/debian bookworm/main arm64 libnetfilter-conntrack3 arm64 1.0.9-3 [38.4 kB]
3.559 Get:6 http://deb.debian.org/debian bookworm/main arm64 libnftnl11 arm64 1.2.4-2 [57.6 kB]
3.569 Get:7 http://deb.debian.org/debian bookworm/main arm64 iptables arm64 1.8.9-2 [352 kB]
4.052 Fetched 556 kB in 0s (3391 kB/s)
4.065 Selecting previously unselected package pigz.
(Reading database ... 21791 files and directories currently installed.)
4.095 Preparing to unpack .../0-pigz_2.6-1_arm64.deb ...
4.096 Unpacking pigz (2.6-1) ...
4.113 Selecting previously unselected package libip4tc2:arm64.
4.114 Preparing to unpack .../1-libip4tc2_1.8.9-2_arm64.deb ...
4.116 Unpacking libip4tc2:arm64 (1.8.9-2) ...
4.127 Selecting previously unselected package libip6tc2:arm64.
4.128 Preparing to unpack .../2-libip6tc2_1.8.9-2_arm64.deb ...
4.129 Unpacking libip6tc2:arm64 (1.8.9-2) ...
4.139 Selecting previously unselected package libnfnetlink0:arm64.
4.140 Preparing to unpack .../3-libnfnetlink0_1.0.2-2_arm64.deb ...
4.141 Unpacking libnfnetlink0:arm64 (1.0.2-2) ...
4.152 Selecting previously unselected package libnetfilter-conntrack3:arm64.
4.154 Preparing to unpack .../4-libnetfilter-conntrack3_1.0.9-3_arm64.deb ...
4.155 Unpacking libnetfilter-conntrack3:arm64 (1.0.9-3) ...
4.167 Selecting previously unselected package libnftnl11:arm64.
4.169 Preparing to unpack .../5-libnftnl11_1.2.4-2_arm64.deb ...
4.170 Unpacking libnftnl11:arm64 (1.2.4-2) ...
4.182 Selecting previously unselected package iptables.
4.184 Preparing to unpack .../6-iptables_1.8.9-2_arm64.deb ...
4.185 Unpacking iptables (1.8.9-2) ...
4.228 Setting up libip4tc2:arm64 (1.8.9-2) ...
4.230 Setting up libip6tc2:arm64 (1.8.9-2) ...
4.233 Setting up libnftnl11:arm64 (1.2.4-2) ...
4.236 Setting up pigz (2.6-1) ...
4.239 Setting up libnfnetlink0:arm64 (1.0.2-2) ...
4.241 Setting up libnetfilter-conntrack3:arm64 (1.0.9-3) ...
4.244 Setting up iptables (1.8.9-2) ...
4.250 update-alternatives: using /usr/sbin/iptables-legacy to provide /usr/sbin/iptables (iptables) in auto mode
4.252 update-alternatives: using /usr/sbin/ip6tables-legacy to provide /usr/sbin/ip6tables (ip6tables) in auto mode
4.253 update-alternatives: using /usr/sbin/iptables-nft to provide /usr/sbin/iptables (iptables) in auto mode
4.254 update-alternatives: using /usr/sbin/ip6tables-nft to provide /usr/sbin/ip6tables (ip6tables) in auto mode
4.255 update-alternatives: using /usr/sbin/arptables-nft to provide /usr/sbin/arptables (arptables) in auto mode
4.256 update-alternatives: using /usr/sbin/ebtables-nft to provide /usr/sbin/ebtables (ebtables) in auto mode
4.258 Processing triggers for man-db (2.11.2-2) ...
4.616 Processing triggers for libc-bin (2.36-9+deb12u3) ...
4.677 update-alternatives: using /usr/sbin/iptables-legacy to provide /usr/sbin/iptables (iptables) in manual mode
4.679 update-alternatives: using /usr/sbin/ip6tables-legacy to provide /usr/sbin/ip6tables (ip6tables) in manual mode
4.911 Hit:1 http://deb.debian.org/debian bookworm InRelease
4.920 Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
4.941 Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
5.050 Get:4 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm InRelease [3617 B]
5.110 Get:5 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm/main arm64 Packages [5427 B]
5.155 Get:6 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm/main all Packages [342 B]
5.158 Fetched 9386 B in 0s (32.7 kB/s)
5.158 Reading package lists...
5.461 Reading package lists...
5.733 Building dependency tree...
5.805 Reading state information...
5.896 The following additional packages will be installed:
5.896   dmsetup libdevmapper1.02.1 moby-containerd moby-runc moby-tini
5.896 Recommended packages:
5.896   apparmor kmod
5.924 The following NEW packages will be installed:
5.924   dmsetup libdevmapper1.02.1 moby-buildx moby-cli moby-containerd moby-engine
5.924   moby-runc moby-tini
5.984 0 upgraded, 8 newly installed, 0 to remove and 6 not upgraded.
5.984 Need to get 108 MB of archives.
5.984 After this operation, 301 MB of additional disk space will be used.
5.984 Get:1 http://deb.debian.org/debian bookworm/main arm64 libdevmapper1.02.1 arm64 2:1.02.185-2 [115 kB]
6.028 Get:2 http://deb.debian.org/debian bookworm/main arm64 dmsetup arm64 2:1.02.185-2 [75.2 kB]
6.112 Get:3 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm/main arm64 moby-buildx arm64 0.12.1-debian12u1 [31.7 MB]
11.50 Get:4 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm/main arm64 moby-cli arm64 24.0.9-debian12u1 [14.5 MB]
14.35 Get:5 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm/main arm64 moby-runc arm64 1.1.12-debian12u1 [6217 kB]
16.71 Get:6 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm/main arm64 moby-containerd arm64 1.6.28-debian12u1 [34.2 MB]
23.69 Get:7 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm/main arm64 moby-tini arm64 0.19.0-debian12u1 [289 kB]
25.13 Get:8 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm/main arm64 moby-engine arm64 24.0.9-debian12u1 [21.4 MB]
30.08 Fetched 108 MB in 24s (4565 kB/s)
30.10 Selecting previously unselected package libdevmapper1.02.1:arm64.
(Reading database ... 22027 files and directories currently installed.)
30.10 Preparing to unpack .../0-libdevmapper1.02.1_2%3a1.02.185-2_arm64.deb ...
30.10 Unpacking libdevmapper1.02.1:arm64 (2:1.02.185-2) ...
30.12 Selecting previously unselected package dmsetup.
30.12 Preparing to unpack .../1-dmsetup_2%3a1.02.185-2_arm64.deb ...
30.12 Unpacking dmsetup (2:1.02.185-2) ...
30.14 Selecting previously unselected package moby-buildx.
30.14 Preparing to unpack .../2-moby-buildx_0.12.1-debian12u1_arm64.deb ...
30.14 Unpacking moby-buildx (0.12.1-debian12u1) ...
30.40 Selecting previously unselected package moby-cli.
30.40 Preparing to unpack .../3-moby-cli_24.0.9-debian12u1_arm64.deb ...
30.40 Unpacking moby-cli (24.0.9-debian12u1) ...
30.53 Selecting previously unselected package moby-runc.
30.53 Preparing to unpack .../4-moby-runc_1.1.12-debian12u1_arm64.deb ...
30.53 Unpacking moby-runc (1.1.12-debian12u1) ...
30.59 Selecting previously unselected package moby-containerd.
30.59 Preparing to unpack .../5-moby-containerd_1.6.28-debian12u1_arm64.deb ...
30.59 Unpacking moby-containerd (1.6.28-debian12u1) ...
30.97 Selecting previously unselected package moby-tini.
30.98 Preparing to unpack .../6-moby-tini_0.19.0-debian12u1_arm64.deb ...
30.98 Unpacking moby-tini (0.19.0-debian12u1) ...
30.99 Selecting previously unselected package moby-engine.
30.99 Preparing to unpack .../7-moby-engine_24.0.9-debian12u1_arm64.deb ...
30.99 Unpacking moby-engine (24.0.9-debian12u1) ...
31.25 Setting up moby-buildx (0.12.1-debian12u1) ...
31.25 Setting up moby-tini (0.19.0-debian12u1) ...
31.25 Setting up moby-runc (1.1.12-debian12u1) ...
31.26 Setting up moby-cli (24.0.9-debian12u1) ...
31.28 Adding group `docker' (GID 102) ...
31.28 Done.
31.29 Setting up moby-containerd (1.6.28-debian12u1) ...
31.35 /var/lib/dpkg/info/moby-containerd.postinst: 49: systemctl: not found
31.35 /var/lib/dpkg/info/moby-containerd.postinst: 51: systemctl: not found
31.35 /usr/sbin/policy-rc.d returned 101, not running 'start containerd'
31.36 Setting up libdevmapper1.02.1:arm64 (2:1.02.185-2) ...
31.36 Setting up dmsetup (2:1.02.185-2) ...
31.36 Setting up moby-engine (24.0.9-debian12u1) ...
31.47 /var/lib/dpkg/info/moby-engine.postinst: 83: systemctl: not found
31.47 /var/lib/dpkg/info/moby-engine.postinst: 85: systemctl: not found
31.48 /usr/sbin/policy-rc.d returned 101, not running 'start docker'
31.48 Processing triggers for libc-bin (2.36-9+deb12u3) ...
31.48 Processing triggers for man-db (2.11.2-2) ...
31.62 Reading package lists...
31.89 Building dependency tree...
31.97 Reading state information...
32.08 The following NEW packages will be installed:
32.08   moby-compose
32.27 0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
32.27 Need to get 16.0 MB of archives.
32.27 After this operation, 58.3 MB of additional disk space will be used.
32.27 Get:1 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm/main arm64 moby-compose arm64 2.23.3-debian12u1 [16.0 MB]
35.34 Fetched 16.0 MB in 3s (5530 kB/s)
35.35 Selecting previously unselected package moby-compose.
(Reading database ... 22119 files and directories currently installed.)
35.36 Preparing to unpack .../moby-compose_2.23.3-debian12u1_arm64.deb ...
35.36 Unpacking moby-compose (2.23.3-debian12u1) ...
35.55 Setting up moby-compose (2.23.3-debian12u1) ...
35.56 Finished installing docker / moby!
35.57 Reading package lists...
35.84 Building dependency tree...
35.92 Reading state information...
36.00 The following additional packages will be installed:
36.00   libpython3-stdlib libpython3.11-minimal libpython3.11-stdlib media-types
36.00   python3 python3-distutils python3-lib2to3 python3-pip-whl
36.00   python3-pkg-resources python3-setuptools python3-setuptools-whl
36.00   python3-wheel python3.11 python3.11-minimal python3.11-venv
36.00 Suggested packages:
36.00   python3-doc python3-tk python-setuptools-doc python3.11-doc binfmt-support
36.00 Recommended packages:
36.00   python3-dev
36.11 The following NEW packages will be installed:
36.11   libffi-dev libpython3-stdlib libpython3.11-minimal libpython3.11-stdlib
36.11   media-types python3 python3-distutils python3-lib2to3 python3-minimal
36.11   python3-pip python3-pip-whl python3-pkg-resources python3-setuptools
36.11   python3-setuptools-whl python3-venv python3-wheel python3.11
36.11   python3.11-minimal python3.11-venv
36.19 0 upgraded, 19 newly installed, 0 to remove and 6 not upgraded.
36.19 Need to get 10.3 MB of archives.
36.19 After this operation, 38.3 MB of additional disk space will be used.
36.19 Get:1 http://deb.debian.org/debian bookworm/main arm64 libpython3.11-minimal arm64 3.11.2-6 [806 kB]
36.35 Get:2 http://deb.debian.org/debian bookworm/main arm64 python3.11-minimal arm64 3.11.2-6 [1858 kB]
36.66 Get:3 http://deb.debian.org/debian bookworm/main arm64 python3-minimal arm64 3.11.2-1+b1 [26.3 kB]
36.66 Get:4 http://deb.debian.org/debian bookworm/main arm64 media-types all 10.0.0 [26.1 kB]
36.67 Get:5 http://deb.debian.org/debian bookworm/main arm64 libpython3.11-stdlib arm64 3.11.2-6 [1747 kB]
36.98 Get:6 http://deb.debian.org/debian bookworm/main arm64 python3.11 arm64 3.11.2-6 [572 kB]
37.07 Get:7 http://deb.debian.org/debian bookworm/main arm64 libpython3-stdlib arm64 3.11.2-1+b1 [9296 B]
37.07 Get:8 http://deb.debian.org/debian bookworm/main arm64 python3 arm64 3.11.2-1+b1 [26.3 kB]
37.07 Get:9 http://deb.debian.org/debian bookworm/main arm64 libffi-dev arm64 3.4.4-1 [56.0 kB]
37.08 Get:10 http://deb.debian.org/debian bookworm/main arm64 python3-lib2to3 all 3.11.2-3 [76.3 kB]
37.09 Get:11 http://deb.debian.org/debian bookworm/main arm64 python3-distutils all 3.11.2-3 [131 kB]
37.11 Get:12 http://deb.debian.org/debian bookworm/main arm64 python3-pkg-resources all 66.1.1-1 [296 kB]
37.16 Get:13 http://deb.debian.org/debian bookworm/main arm64 python3-setuptools all 66.1.1-1 [521 kB]
37.25 Get:14 http://deb.debian.org/debian bookworm/main arm64 python3-wheel all 0.38.4-2 [30.8 kB]
37.26 Get:15 http://deb.debian.org/debian bookworm/main arm64 python3-pip all 23.0.1+dfsg-1 [1325 kB]
37.48 Get:16 http://deb.debian.org/debian bookworm/main arm64 python3-pip-whl all 23.0.1+dfsg-1 [1717 kB]
37.77 Get:17 http://deb.debian.org/debian bookworm/main arm64 python3-setuptools-whl all 66.1.1-1 [1111 kB]
37.95 Get:18 http://deb.debian.org/debian bookworm/main arm64 python3.11-venv arm64 3.11.2-6 [5892 B]
37.95 Get:19 http://deb.debian.org/debian bookworm/main arm64 python3-venv arm64 3.11.2-1+b1 [1200 B]
38.34 Fetched 10.3 MB in 2s (5632 kB/s)
38.35 Selecting previously unselected package libpython3.11-minimal:arm64.
(Reading database ... 22124 files and directories currently installed.)
38.36 Preparing to unpack .../libpython3.11-minimal_3.11.2-6_arm64.deb ...
38.36 Unpacking libpython3.11-minimal:arm64 (3.11.2-6) ...
38.41 Selecting previously unselected package python3.11-minimal.
38.41 Preparing to unpack .../python3.11-minimal_3.11.2-6_arm64.deb ...
38.42 Unpacking python3.11-minimal (3.11.2-6) ...
38.52 Setting up libpython3.11-minimal:arm64 (3.11.2-6) ...
38.53 Setting up python3.11-minimal (3.11.2-6) ...
38.85 Selecting previously unselected package python3-minimal.
(Reading database ... 22431 files and directories currently installed.)
38.86 Preparing to unpack .../python3-minimal_3.11.2-1+b1_arm64.deb ...
38.86 Unpacking python3-minimal (3.11.2-1+b1) ...
38.87 Selecting previously unselected package media-types.
38.87 Preparing to unpack .../media-types_10.0.0_all.deb ...
38.87 Unpacking media-types (10.0.0) ...
38.88 Selecting previously unselected package libpython3.11-stdlib:arm64.
38.89 Preparing to unpack .../libpython3.11-stdlib_3.11.2-6_arm64.deb ...
38.89 Unpacking libpython3.11-stdlib:arm64 (3.11.2-6) ...
38.99 Selecting previously unselected package python3.11.
38.99 Preparing to unpack .../python3.11_3.11.2-6_arm64.deb ...
38.99 Unpacking python3.11 (3.11.2-6) ...
39.01 Selecting previously unselected package libpython3-stdlib:arm64.
39.01 Preparing to unpack .../libpython3-stdlib_3.11.2-1+b1_arm64.deb ...
39.01 Unpacking libpython3-stdlib:arm64 (3.11.2-1+b1) ...
39.02 Setting up python3-minimal (3.11.2-1+b1) ...
39.09 Selecting previously unselected package python3.
(Reading database ... 22840 files and directories currently installed.)
39.10 Preparing to unpack .../00-python3_3.11.2-1+b1_arm64.deb ...
39.10 Unpacking python3 (3.11.2-1+b1) ...
39.11 Selecting previously unselected package libffi-dev:arm64.
39.11 Preparing to unpack .../01-libffi-dev_3.4.4-1_arm64.deb ...
39.11 Unpacking libffi-dev:arm64 (3.4.4-1) ...
39.12 Selecting previously unselected package python3-lib2to3.
39.13 Preparing to unpack .../02-python3-lib2to3_3.11.2-3_all.deb ...
39.13 Unpacking python3-lib2to3 (3.11.2-3) ...
39.14 Selecting previously unselected package python3-distutils.
39.14 Preparing to unpack .../03-python3-distutils_3.11.2-3_all.deb ...
39.14 Unpacking python3-distutils (3.11.2-3) ...
39.16 Selecting previously unselected package python3-pkg-resources.
39.16 Preparing to unpack .../04-python3-pkg-resources_66.1.1-1_all.deb ...
39.16 Unpacking python3-pkg-resources (66.1.1-1) ...
39.19 Selecting previously unselected package python3-setuptools.
39.19 Preparing to unpack .../05-python3-setuptools_66.1.1-1_all.deb ...
39.19 Unpacking python3-setuptools (66.1.1-1) ...
39.22 Selecting previously unselected package python3-wheel.
39.22 Preparing to unpack .../06-python3-wheel_0.38.4-2_all.deb ...
39.23 Unpacking python3-wheel (0.38.4-2) ...
39.24 Selecting previously unselected package python3-pip.
39.24 Preparing to unpack .../07-python3-pip_23.0.1+dfsg-1_all.deb ...
39.24 Unpacking python3-pip (23.0.1+dfsg-1) ...
39.32 Selecting previously unselected package python3-pip-whl.
39.32 Preparing to unpack .../08-python3-pip-whl_23.0.1+dfsg-1_all.deb ...
39.33 Unpacking python3-pip-whl (23.0.1+dfsg-1) ...
39.40 Selecting previously unselected package python3-setuptools-whl.
39.40 Preparing to unpack .../09-python3-setuptools-whl_66.1.1-1_all.deb ...
39.40 Unpacking python3-setuptools-whl (66.1.1-1) ...
39.44 Selecting previously unselected package python3.11-venv.
39.44 Preparing to unpack .../10-python3.11-venv_3.11.2-6_arm64.deb ...
39.44 Unpacking python3.11-venv (3.11.2-6) ...
39.45 Selecting previously unselected package python3-venv.
39.45 Preparing to unpack .../11-python3-venv_3.11.2-1+b1_arm64.deb ...
39.45 Unpacking python3-venv (3.11.2-1+b1) ...
39.47 Setting up media-types (10.0.0) ...
39.47 Setting up python3-setuptools-whl (66.1.1-1) ...
39.47 Setting up python3-pip-whl (23.0.1+dfsg-1) ...
39.48 Setting up libpython3.11-stdlib:arm64 (3.11.2-6) ...
39.48 Setting up libffi-dev:arm64 (3.4.4-1) ...
39.48 Setting up libpython3-stdlib:arm64 (3.11.2-1+b1) ...
39.48 Setting up python3.11 (3.11.2-6) ...
39.83 Setting up python3 (3.11.2-1+b1) ...
39.87 Setting up python3-lib2to3 (3.11.2-3) ...
39.92 Setting up python3-pkg-resources (66.1.1-1) ...
40.03 Setting up python3-distutils (3.11.2-3) ...
40.09 Setting up python3-setuptools (66.1.1-1) ...
40.31 Setting up python3-wheel (0.38.4-2) ...
40.37 Setting up python3.11-venv (3.11.2-6) ...
40.39 Setting up python3-pip (23.0.1+dfsg-1) ...
40.88 Setting up python3-venv (3.11.2-1+b1) ...
40.89 Processing triggers for man-db (2.11.2-2) ...
41.39 error: externally-managed-environment
41.39 
41.39 × This environment is externally managed
41.39 ╰─> To install Python packages system-wide, try apt install
41.39     python3-xyz, where xyz is the package you are trying to
41.39     install.
41.39     
41.39     If you wish to install a non-Debian-packaged Python package,
41.39     create a virtual environment using python3 -m venv path/to/venv.
41.39     Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
41.39     sure you have python3-full installed.
41.39     
41.39     If you wish to install a non-Debian packaged Python application,
41.39     it may be easiest to use pipx install xyz, which will manage a
41.39     virtual environment for you. Make sure you have pipx installed.
41.39     
41.39     See /usr/share/doc/python3.11/README.venv for more information.
41.39 
41.39 note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
41.39 hint: See PEP 668 for the detailed specification.
41.42 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.
------
Dockerfile.extended:24
--------------------
  23 |     ENV DOCKER_BUILDKIT="1"
  24 | >>> RUN --mount=type=bind,from=dev_containers_feature_content_source,source=docker-in-docker_0,target=/tmp/build-features-src/docker-in-docker_0 \
  25 | >>>     cp -ar /tmp/build-features-src/docker-in-docker_0 /tmp/dev-container-features \
  26 | >>>  && chmod -R 0755 /tmp/dev-container-features/docker-in-docker_0 \
  27 | >>>  && cd /tmp/dev-container-features/docker-in-docker_0 \
  28 | >>>  && chmod +x ./devcontainer-features-install.sh \
  29 | >>>  && ./devcontainer-features-install.sh \
  30 | >>>  && rm -rf /tmp/dev-container-features/docker-in-docker_0
  31 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c cp -ar /tmp/build-features-src/docker-in-docker_0 /tmp/dev-container-features  && chmod -R 0755 /tmp/dev-container-features/docker-in-docker_0  && cd /tmp/dev-container-features/docker-in-docker_0  && chmod +x ./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && rm -rf /tmp/dev-container-features/docker-in-docker_0" did not complete successfully: exit code: 1
[46739 ms] Error: Command failed: docker buildx build --load --build-context dev_containers_feature_content_source=/var/folders/27/2njr6zys3b710n2zbcy77p5r0000gn/T/devcontainercli/container-features/0.56.0-1707218672858 --build-arg _DEV_CONTAINERS_BASE_IMAGE=mcr.microsoft.com/devcontainers/base:bookworm --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp --target dev_containers_target_stage -t vsc-smilee-v2-1697717d24683cfde57ff554bb093e8edc64792356acc7e51235b04ecdd1c98e-features -f /var/folders/27/2njr6zys3b710n2zbcy77p5r0000gn/T/devcontainercli/container-features/0.56.0-1707218672858/Dockerfile.extended /Users/dezzeus/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data/empty-folder
[46739 ms]     at J$ (/Users/dezzeus/.vscode/extensions/ms-vscode-remote.remote-containers-0.338.1/dist/spec-node/devContainersSpecCLI.js:464:1253)
[46739 ms]     at $J (/Users/dezzeus/.vscode/extensions/ms-vscode-remote.remote-containers-0.338.1/dist/spec-node/devContainersSpecCLI.js:464:997)
[46739 ms]     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[46739 ms]     at async tAA (/Users/dezzeus/.vscode/extensions/ms-vscode-remote.remote-containers-0.338.1/dist/spec-node/devContainersSpecCLI.js:481:3660)
[46739 ms]     at async CC (/Users/dezzeus/.vscode/extensions/ms-vscode-remote.remote-containers-0.338.1/dist/spec-node/devContainersSpecCLI.js:481:4775)
[46739 ms]     at async NeA (/Users/dezzeus/.vscode/extensions/ms-vscode-remote.remote-containers-0.338.1/dist/spec-node/devContainersSpecCLI.js:614:11107)
[46739 ms]     at async MeA (/Users/dezzeus/.vscode/extensions/ms-vscode-remote.remote-containers-0.338.1/dist/spec-node/devContainersSpecCLI.js:614:10848)
[46742 ms] Exit code 1
[46744 ms] Command failed: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) /Users/dezzeus/.vscode/extensions/ms-vscode-remote.remote-containers-0.338.1/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /Users/dezzeus/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --container-session-data-folder /tmp/devcontainers-ab9d3ceb-221f-4f02-85f6-7b654097c1dd1707218670701 --workspace-folder /Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --workspace-mount-consistency cached --id-label devcontainer.local_folder=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME --id-label devcontainer.config_file=/Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json --log-level debug --log-format json --config /Users/dezzeus/workspaces/CLIENT_NAME/Projects/PROJECT_NAME/src/REPOSITORY_NAME/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root
[46744 ms] Exit code 1

dezzeus avatar Feb 06 '24 11:02 dezzeus

The rebuild without cache produced another Python error in the docker-in-docker feature:

This issue is similar to https://github.com/devcontainers/features/issues/577 and https://github.com/devcontainers/features/issues/589 (python on bookworm distro are running into error: externally-managed-environment errors, see here)and needs a similar fix.

Opened https://github.com/devcontainers/features/issues/832 for tracking!

samruddhikhandale avatar Feb 06 '24 19:02 samruddhikhandale