Skip to content

Alternate Repository Devcontainers cannot be rebuilt: Cannot statx /tmp/devcontainer-config-*/.devcontainer.devcontainer.json #10962

@JustinGrote

Description

@JustinGrote
  • VSCode Version: 1.100.2
  • Remote Extension/Connection Type: Dev Containers

Devcontainer Environment:

  • Podman 5.4.2 using WSL on Windows 11

Steps to Reproduce:

  1. Create alternate repository devcontainer
  2. Build using a container volume (succeeds)
  3. Command Palette -> Rebuild Container
  4. Fails

Logs:

[22 ms] Dev Containers 0.413.0 in VS Code 1.100.2 (848b80aeb52026648a8ff9f7c45a9b0a80641e2e).
[22 ms] Start: Resolving Remote
[34 ms] Start: Run: wsl -l -v
[111 ms] Start: Run: wsl -d podman-machine-default -e /bin/sh -c echo ~
[203 ms] Start: Run: wsl -d podman-machine-default -e /bin/sh -c cd '/home/user' && /bin/sh
[208 ms] Start: Run in host: id -un
[253 ms] user
[253 ms] 
[253 ms] Start: Run in host:  (command -v getent >/dev/null 2>&1 && getent passwd 'user' || grep -E '^user|^[^:]*:[^:]*:user:' /etc/passwd || true)
[255 ms] Start: Run in host: echo ~
[255 ms] /home/user
[255 ms] 
[256 ms] Start: Run in host: test -f '/home/user/.vscode-server/cli/servers/Stable-848b80aeb52026648a8ff9f7c45a9b0a80641e2e/server/node'
[256 ms] 
[256 ms] 
[257 ms] Exit code 1
[257 ms] Start: Run in host: test -f '/home/user/.vscode/cli/servers/Stable-848b80aeb52026648a8ff9f7c45a9b0a80641e2e/server/node'
[258 ms] 
[258 ms] 
[258 ms] Exit code 1
[258 ms] Start: Run in host: test -f '/home/user/.vscode-server/bin/848b80aeb52026648a8ff9f7c45a9b0a80641e2e/node'
[259 ms] 
[259 ms] 
[259 ms] Exit code 1
[259 ms] Start: Run in host: test -f '/home/user/.vscode-remote-containers/bin/848b80aeb52026648a8ff9f7c45a9b0a80641e2e/node'
[260 ms] 
[260 ms] 
[260 ms] Start: Run in host: test -f '/home/user/.vscode-remote-containers/bin/848b80aeb52026648a8ff9f7c45a9b0a80641e2e/node_modules/node-pty/package.json'
[260 ms] 
[260 ms] 
[260 ms] Start: Run in host: test -f '/home/user/.vscode-remote-containers/dist/vscode-remote-containers-server-0.413.0.js'
[261 ms] 
[261 ms] 
[263 ms] userEnvProbe: loginInteractiveShell (default)
[263 ms] userEnvProbe: not found in cache
[263 ms] userEnvProbe shell: /bin/bash
[306 ms] userEnvProbe PATHs:
Probe:     '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program Files (x86)/oh-my-posh/bin/:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program Files/PowerShell/7/:/mnt/c/Program Files/dotnet/:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/RedHat/Podman/:/mnt/c/Users/justi/AppData/Local/pnpm:/mnt/c/Users/justi/AppData/Local/Programs/oh-my-posh/bin/:/mnt/c/Users/justi/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/justi/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/justi/.dotnet/tools:/mnt/c/Users/justi/AppData/Local/Microsoft/WinGet/Links'
Container: None
[312 ms] Start: Check Docker is running
[312 ms] Start: Run: podman version
[568 ms] Client:       Podman Engine
Version:      5.4.2
API Version:  5.4.2
Go Version:   go1.24.2
Git Commit:   be85287fcf4590961614ee37be65eeb315e5d9ff
Built:        Wed Apr  2 09:33:14 2025
OS/Arch:      windows/amd64

Server:       Podman Engine
Version:      5.4.2
API Version:  5.4.2
Go Version:   go1.23.7
Git Commit:   be85287fcf4590961614ee37be65eeb315e5d9ff
Built:
[568 ms]         Tue Apr  1 17:00:00 2025
OS/Arch:      linux/amd64
[572 ms] Start: Run: podman volume ls -q
[809 ms] ProxyResolver#loadSystemCertificates count
[810 ms] ProxyResolver#loadSystemCertificates count filtered
[812 ms] Start: Run: podman build -f C:\Users\justi\AppData\Local\Temp\vsch\bootstrap-image\0.413.0\bootstrap.Dockerfile -t vsc-volume-bootstrap C:\Users\justi\AppData\Local\Temp\vsch\bootstrap-image\0.413.0
STEP 1/9: FROM mcr.microsoft.com/devcontainers/base:0-alpine-3.20
STEP 2/9: COPY host-ca-certificates.crt /tmp/host-ca-certificates.crt
--> Using cache b9bb06e3c61ad512e936dd34aea7769fb1cc72b1a8732e7b4dd3d2d41a709090
--> b9bb06e3c61a
STEP 3/9: RUN cat /tmp/host-ca-certificates.crt >> /etc/ssl/certs/ca-certificate
s.crt
--> Using cache c8a0cc7ca376820bd5de93d5648fef059a54c9f0d585e1fe1069e396585e233f
--> c8a0cc7ca376
STEP 4/9: RUN csplit -f /usr/local/share/ca-certificates/host-ca-certificate- -b
 '%02d.pem' -z -s /tmp/host-ca-certificates.crt '/-----BEGIN CERTIFICATE-----/'
'{*}'
--> Using cache 0fb6372341dbc741353e54a2b39d4d4e18a4abda52d4b52229506f1f32e70eb3
--> 0fb6372341db
STEP 5/9: ENV NODE_EXTRA_CA_CERTS=/etc/ssl/certs/ca-certificates.crt
--> Using cache 87145a5e6405e7c52697d0067c9b35c88f46d1bfcd8e664b024f6a04264f9c33
--> 87145a5e6405
STEP 6/9: RUN echo "@old https://dl-cdn.alpinelinux.org/alpine/v3.15/main" >> /e
tc/apk/repositories
--> Using cache fb3be4cd21c8b54173801322c9d3abdc39fb49c59bb7cf2e3f3c733aaf7d8a3e
--> fb3be4cd21c8
STEP 7/9: RUN apk add --no-cache        git-lfs         nodejs  python3        n
pm      make    g++     docker-cli      docker-cli-buildx       docker-cli-compo
se      openssh-client-default@old      ;
--> Using cache 4b5c5d62d2f928e4d5a57877f00c11cb2c3a6e7f0118eb99bd8bf84bdb6e0278
--> 4b5c5d62d2f9
STEP 8/9: RUN npm config set cafile /etc/ssl/certs/ca-certificates.crt && cd &&
npm i node-pty || echo "Continuing without node-pty."
--> Using cache 0692bb17a1265bbbed7664868167dfc8c785761c0812ca980e89bcf95a057b8d
--> 0692bb17a126
STEP 9/9: COPY .vscode-remote-containers /root/.vscode-remote-containers
--> Using cache cbe03a3d35fbc004998031dd09f5993edc9787fb6e11a46062f151c3c4c458ab
COMMIT vsc-volume-bootstrap
--> cbe03a3d35fb
Successfully tagged localhost/vsc-volume-bootstrap:latest
cbe03a3d35fbc004998031dd09f5993edc9787fb6e11a46062f151c3c4c458ab
[1662 ms] Cloning Github repository: JustinGrote/PowerShell into /workspaces/PowerShell

[1662 ms] Start: Run: podman run -d --mount type=volume,src=PowerShell-b982ef7567b8ba9a68a12b16d77322d18bc271cadfa0f03e6498867776a00cd4,dst=/workspaces -v /var/run/docker.sock:/var/run/docker.sock --security-opt label=disable vsc-volume-bootstrap sleep infinity
[2069 ms] Start: Run in container: /bin/sh
[2085 ms] Start: Launching Dev Containers helper.
[2085 ms] ssh-agent: SSH_AUTH_SOCK not set on local host.
[2085 ms] ssh-agent: SSH_AUTH_SOCK not set on wsl host.
[2085 ms] X11 forwarding: DISPLAY not set on local host.
[2085 ms] Start: Run in container: test -e /tmp/.X11-unix/X0
[2359 ms] 
[2359 ms] 
[2359 ms] Exit code 1
[2360 ms] Start: Run in container: mkdir -p '/tmp/.X11-unix'
[2409 ms] 
[2409 ms] 
[2410 ms] X11 forwarding: DISPLAY in container (:0) forwarded to wsl host (:0).
[2410 ms] Start: Run in container: gpgconf --list-dirs
[2459 ms] sysconfdir:/etc/gnupg
bindir:/usr/bin
libexecdir:/usr/libexec
libdir:/usr/lib/gnupg
datadir:/usr/share/gnupg
localedir:/usr/share/locale
socketdir:/root/.gnupg
dirmngr-socket:/root/.gnupg/S.dirmngr
keyboxd-socket:/root/.gnupg/S.keyboxd
agent-ssh-socket:/root/.gnupg/S.gpg-agent.ssh
agent-extra-socket:/root/.gnupg/S.gpg-agent.extra
agent-browser-socket:/root/.gnupg/S.gpg-agent.browser
agent-socket:/root/.gnupg/S.gpg-agent
homedir:/root/.gnupg
[2460 ms] 
[2460 ms] Start: Run in container: ls '/root/.gnupg/private-keys-v1.d' 2>/dev/null
[2509 ms] 
[2509 ms] 
[2510 ms] Exit code 2
[2510 ms] Start: Run in container: grep -e '^s*use-keyboxds*$' '/root/.gnupg/common.conf' 2>/dev/null
[2559 ms] 
[2559 ms] 
[2559 ms] Exit code 2
[2560 ms] Start: Run: gpgconf --list-dirs
[2569 ms] gpg-agent: No agent-extra-socket found on local host.
[2569 ms] Start: Run in Host: gpgconf --list-dirs
[2574 ms] sysconfdir:/etc/gnupg
bindir:/usr/bin
libexecdir:/usr/libexec
libdir:/usr/lib64/gnupg
datadir:/usr/share/gnupg
localedir:/usr/share/locale
socketdir:/run/user/1000/gnupg
dirmngr-socket:/run/user/1000/gnupg/S.dirmngr
keyboxd-socket:/run/user/1000/gnupg/S.keyboxd
agent-ssh-socket:/run/user/1000/gnupg/S.gpg-agent.ssh
agent-extra-socket:/run/user/1000/gnupg/S.gpg-agent.extra
agent-browser-socket:/run/user/1000/gnupg/S.gpg-agent.browser
agent-socket:/run/user/1000/gnupg/S.gpg-agent
homedir:/home/user/.gnupg
[2574 ms] 
[2578 ms] Start: Run in container: test -f '/root/.gnupg/pubring.kbx'
[2631 ms] 
[2632 ms] 
[2632 ms] Exit code 1
[2632 ms] Start: Run in container: test -f '/root/.gnupg/pubring.gpg'
[2679 ms] 
[2680 ms] 
[2680 ms] Exit code 1
[2680 ms] Start: Run in container: test -f '/root/.gnupg/trustdb.gpg'
[2729 ms] 
[2729 ms] 
[2729 ms] Exit code 1
[2730 ms] Start: Run in container: mkdir -p -m 700 '/root/.gnupg'
[2730 ms] gpg-agent: Socket in container (/root/.gnupg/S.gpg-agent) forwarded to wsl host (/run/user/1000/gnupg/S.gpg-agent.extra).
[2730 ms] Start: Checking for GitHub CLI
[2779 ms] 
[2779 ms] 
[2779 ms] Start: Run in container: (command -v 'gh') >/dev/null 2>&1
[2788 ms] Start: Run in Host: gpg-connect-agent updatestartuptty /bye
[2830 ms] 
[2830 ms] 
[2830 ms] Exit code 127
[2831 ms] Start: Run in container: (command -v 'docker' || command -v 'oras' || command -v 'skopeo') >/dev/null 2>&1
[2879 ms] 
[2879 ms] 
[2880 ms] Start: Run in container: /bin/sh
[2896 ms] Start: Run in container: echo ~
[3179 ms] /root
[3179 ms] 
[3179 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-d570b1b8-d68a-4895-b265-65244bbe5bea.js' >/tmp/vscode-remote-containers-d570b1b8-d68a-4895-b265-65244bbe5bea.js
[3229 ms] 
[3229 ms] 
[3237 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-d570b1b8-d68a-4895-b265-65244bbe5bea.js' >/tmp/vscode-remote-containers-server-d570b1b8-d68a-4895-b265-65244bbe5bea.js_1747435451133
[3289 ms] 
[3289 ms] 
[3291 ms] Start: Run in container: # Test for /root/.gitconfig and git
[3293 ms] 
[3293 ms] 
[3293 ms] Start: Run in container: # Copy C:\Users\justi\.gitconfig to /root/.gitconfig
[3295 ms] 
[3295 ms] 
[3296 ms] Start: Run in container: # Cleaning up git config
[3339 ms] 
[3339 ms] 
[3339 ms] Start: Run: git config --global --get gpg.ssh.allowedSignersFile
[3340 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --global --replace-all credential.helper '!f() { node /tmp/vscode-remote-containers-d570b1b8-d68a-4895-b265-65244bbe5bea.js git-credential-helper $*; }; f' || true
[3389 ms] 
[3389 ms] 
[3390 ms] Start: Run in container: # Test for /root/.ssh/known_hosts and ssh
[3449 ms] 
[3449 ms] 
[3449 ms] Start: Run in container: # Copy C:\Users\justi\.ssh\known_hosts to /root/.ssh/known_hosts
[3452 ms] 
[3452 ms] 
[3599 ms] Start: Run in container: git config --global --add safe.directory /workspaces/PowerShell
[4051 ms] Start: Run in Container: git status --porcelain
[4324 ms] Start: Run in container: cat <<'EOF-/tmp/devcontainer-f98c1c89-b7df-4470-bc43-2704be3ddccf.json' >/tmp/devcontainer-f98c1c89-b7df-4470-bc43-2704be3ddccf.json_1747435452220
[4327 ms] 
[4327 ms] 
[4327 ms] Start: Run in container: docker volume ls -q
[9161 ms] Start: Run in container: tar --no-same-owner -x -f -
[9750 ms] Start: Run: podman inspect --type container 64ca6df380561e0befbcaecb3e336760caa0412fcdb9375e9ef190bb8c0326a8
[9985 ms] Start: Run in container: docker ps -q -a --filter label=vsch.local.repository=https://github.com/JustinGrote/PowerShell --filter label=vsch.local.repository.volume=PowerShell-b982ef7567b8ba9a68a12b16d77322d18bc271cadfa0f03e6498867776a00cd4 --filter label=vsch.local.repository.folder=PowerShell --filter label=vsch.quality=stable
[10337 ms] Start: Run in container: docker ps -q -a --filter label=vsch.local.repository=https://github.com/JustinGrote/PowerShell --filter label=vsch.local.repository.volume=PowerShell-b982ef7567b8ba9a68a12b16d77322d18bc271cadfa0f03e6498867776a00cd4 --filter label=vsch.local.repository.folder=PowerShell --filter label=devcontainer.config_file=file:///c%3A/Users/justi/Projects/devcontainers/github.com/JustinGrote/PowerShell/.devcontainer/devcontainer.json
[10722 ms] Start: Run in container: docker ps -q -a --filter label=vsch.local.repository=https://github.com/JustinGrote/PowerShell --filter label=vsch.local.repository.volume=PowerShell-b982ef7567b8ba9a68a12b16d77322d18bc271cadfa0f03e6498867776a00cd4 --filter label=vsch.local.repository.folder=PowerShell
[11098 ms] Start: Run in container: docker ps -q -a --filter label=vsch.local.repository=https://github.com/JustinGrote/PowerShell --filter label=vsch.local.repository.volume=PowerShell-b982ef7567b8ba9a68a12b16d77322d18bc271cadfa0f03e6498867776a00cd4 --filter label=vsch.local.repository.folder=PowerShell
[11452 ms] Running Dev Containers CLI:   up --container-session-data-folder /tmp/devcontainers-6807bc10-d2d4-4d6e-af57-6da5228ce3341747435447277 --workspace-folder /workspaces/PowerShell --workspace-mount-consistency cached --gpu-availability none --id-label vsch.local.repository=https://github.com/JustinGrote/PowerShell --id-label vsch.local.repository.volume=PowerShell-b982ef7567b8ba9a68a12b16d77322d18bc271cadfa0f03e6498867776a00cd4 --id-label vsch.local.repository.folder=PowerShell --id-label devcontainer.config_file=file:///c%3A/Users/justi/Projects/devcontainers/github.com/JustinGrote/PowerShell/.devcontainer/devcontainer.json --log-level debug --log-format json --config /tmp/devcontainer-config-7c8c5c1d-5fae-4055-8cb8-7f13d90c8482/.devcontainer/devcontainer.json --override-config /tmp/devcontainer-f98c1c89-b7df-4470-bc43-2704be3ddccf.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=PowerShell-b982ef7567b8ba9a68a12b16d77322d18bc271cadfa0f03e6498867776a00cd4,target=/workspaces,external=true --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default off --mount-workspace-git-root --terminal-columns 171 --terminal-rows 16 --include-configuration --include-merged-configuration
[12424 ms] Start: Run in container: node /root/.vscode-remote-containers/dist/dev-containers-cli-0.413.0/dist/spec-node/devContainersSpecCLI.js up --container-session-data-folder /tmp/devcontainers-6807bc10-d2d4-4d6e-af57-6da5228ce3341747435447277 --workspace-folder /workspaces/PowerShell --workspace-mount-consistency cached --gpu-availability none --id-label vsch.local.repository=https://github.com/JustinGrote/PowerShell --id-label vsch.local.repository.volume=PowerShell-b982ef7567b8ba9a68a12b16d77322d18bc271cadfa0f03e6498867776a00cd4 --id-label vsch.local.repository.folder=PowerShell --id-label devcontainer.config_file=file:///c%3A/Users/justi/Projects/devcontainers/github.com/JustinGrote/PowerShell/.devcontainer/devcontainer.json --log-level debug --log-format json --config /tmp/devcontainer-config-7c8c5c1d-5fae-4055-8cb8-7f13d90c8482/.devcontainer/devcontainer.json --override-config /tmp/devcontainer-f98c1c89-b7df-4470-bc43-2704be3ddccf.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=PowerShell-b982ef7567b8ba9a68a12b16d77322d18bc271cadfa0f03e6498867776a00cd4,target=/workspaces,external=true --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default off --mount-workspace-git-root --terminal-columns 171 --terminal-rows 16 --include-configuration --include-merged-configuration
[12793 ms] @devcontainers/cli 0.76.0. Node.js v20.15.1. linux 5.15.167.4-microsoft-standard-WSL2 x64.
[12793 ms] Start: Run: docker buildx version
[12874 ms] github.com/docker/buildx v0.14.0 171fcbeb69d67c90ba7f44f41a9e418f6a6ec1da
[12874 ms] 
[12875 ms] Start: Run: docker -v
[12885 ms] Start: Resolving Remote
[12896 ms] Start: Run: git rev-parse --show-cdup
[13020 ms] Start: Run: docker ps -q -a --filter label=vsch.local.repository=https://github.com/JustinGrote/PowerShell --filter label=vsch.local.repository.volume=PowerShell-b982ef7567b8ba9a68a12b16d77322d18bc271cadfa0f03e6498867776a00cd4 --filter label=vsch.local.repository.folder=PowerShell --filter label=devcontainer.config_file=file:///c%3A/Users/justi/Projects/devcontainers/github.com/JustinGrote/PowerShell/.devcontainer/devcontainer.json
[13036 ms] Start: Run: docker inspect --type image mcr.microsoft.com/devcontainers/dotnet:1-10.0-preview-noble
[13053 ms] Start: Run: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-root/container-features/0.76.0-1747435460946/Dockerfile-with-features -t vsc-powershell-4bb63f48987d29481e6b8f63c3a4817cd4c9c9b23b8418764ab9ed711dd36a7a --target dev_containers_target_stage --build-arg VARIANT=1-10.0-preview-noble --build-arg _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label /tmp/devcontainer-config-7c8c5c1d-5fae-4055-8cb8-7f13d90c8482/.devcontainer
[+] Building 3.3s (8/8) FINISHED                                                                                                                  docker-container:default
 => [internal] load build definition from Dockerfile-with-features                                                                                                    0.0s
 => => transferring dockerfile: 2.58kB                                                                                                                                0.0s
 => [internal] load metadata for mcr.microsoft.com/devcontainers/dotnet:1-10.0-preview-noble                                                                          0.3s
 => [internal] load .dockerignore                                                                                                                                     0.0s
 => => transferring context: 2B                                                                                                                                       0.0s
 => [internal] load build context                                                                                                                                     0.0s
 => => transferring context: 282B                                                                                                                                     0.0s
 => [dev_container_auto_added_stage_label 1/2] FROM mcr.microsoft.com/devcontainers/dotnet:1-10.0-preview-noble@sha256:7b941c9fa2816f7159876099e52348a68ce98c9e1cc88  0.0s
 => => resolve mcr.microsoft.com/devcontainers/dotnet:1-10.0-preview-noble@sha256:7b941c9fa2816f7159876099e52348a68ce98c9e1cc88765a455b7825e72cd98                    0.0s
 => CACHED [dev_container_auto_added_stage_label 2/2] ADD ./scripts /devcontainer/scripts                                                                             0.0s
 => exporting to docker image format                                                                                                                                  2.8s
 => => exporting layers                                                                                                                                               0.0s
 => => preparing layers for inline cache                                                                                                                              0.0s
 => => exporting manifest sha256:15a19adbe7afe5a2272ac368e2d07b53215306891d3b9750d78534d46f1f3f22                                                                     0.0s
 => => exporting config sha256:e88b946ac9abb701ecdbd2e07405993817ef3ceca5d18af7803015a234febccc                                                                       0.0s
 => => sending tarball                                                                                                                                                2.8s
 => importing to docker                                                                                                                                               0.0s
[16530 ms] Start: Run: docker events --format {{json .}} --filter event=start
[16531 ms] Start: Starting container
[16531 ms] Start: Run: docker run --sig-proxy=false -a STDOUT -a STDERR --mount type=volume,src=PowerShell-b982ef7567b8ba9a68a12b16d77322d18bc271cadfa0f03e6498867776a00cd4,dst=/workspaces --mount type=volume,src=vscode,dst=/vscode -l vsch.local.repository=https://github.com/JustinGrote/PowerShell -l vsch.local.repository.volume=PowerShell-b982ef7567b8ba9a68a12b16d77322d18bc271cadfa0f03e6498867776a00cd4 -l vsch.local.repository.folder=PowerShell -l devcontainer.config_file=file:///c%3A/Users/justi/Projects/devcontainers/github.com/JustinGrote/PowerShell/.devcontainer/devcontainer.json -u vscode --cap-add NET_RAW --entrypoint /bin/sh vsc-powershell-4bb63f48987d29481e6b8f63c3a4817cd4c9c9b23b8418764ab9ed711dd36a7a -c echo Container started
Container started
[16991 ms] Start: Run: docker ps -q -a --filter label=vsch.local.repository=https://github.com/JustinGrote/PowerShell --filter label=vsch.local.repository.volume=PowerShell-b982ef7567b8ba9a68a12b16d77322d18bc271cadfa0f03e6498867776a00cd4 --filter label=vsch.local.repository.folder=PowerShell --filter label=devcontainer.config_file=file:///c%3A/Users/justi/Projects/devcontainers/github.com/JustinGrote/PowerShell/.devcontainer/devcontainer.json
[17000 ms] Start: Run: docker inspect --type container 0bcc30f173dc
[17010 ms] Start: Inspecting container
[17010 ms] Start: Run: docker inspect --type container 0bcc30f173dc6271a26f80f2f331a92b072d6ddfd727423c3e2ae57e2945f48e
[17020 ms] Start: Run in container: /bin/sh
[17021 ms] Start: Run in container: uname -m
[17051 ms] x86_64
[17051 ms] 
[17051 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[17052 ms] PRETTY_NAME="Ubuntu 24.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.2 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
[17052 ms] 
[17052 ms] Start: Run in container:  (command -v getent >/dev/null 2>&1 && getent passwd 'vscode' || grep -E '^vscode|^[^:]*:[^:]*:vscode:' /etc/passwd || true)
[17055 ms] Start: Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker'
[17055 ms] 
[17055 ms] 
[17055 ms] Exit code 1
[17055 ms] Start: Run in container: /bin/sh
[17056 ms] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcEnvironmentMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcEnvironmentMarker' ; } 2> /dev/null
[17102 ms] 
[17102 ms] 
[17102 ms] Start: Run in container: cat >> /etc/environment <<'etcEnvrionmentEOF'
[17105 ms] 
[17105 ms] 
[17105 ms] Start: Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
[17106 ms] 
[17106 ms] 
[17106 ms] Exit code 1
[17106 ms] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcProfileMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcProfileMarker' ; } 2> /dev/null
[17107 ms] 
[17107 ms] 
[17107 ms] Start: Run in container: sed -i -E 's/((^|\s)PATH=)([^\$]*)$/\1${PATH:-\3}/g' /etc/profile || true
[17110 ms] 
[17110 ms] 
[17201 ms] Start: Run: podman inspect --type container 0bcc30f173dc6271a26f80f2f331a92b072d6ddfd727423c3e2ae57e2945f48e
[17463 ms] Start: Run: podman exec -i -u root 0bcc30f173dc6271a26f80f2f331a92b072d6ddfd727423c3e2ae57e2945f48e /bin/sh -c echo "New container started. Keep-alive process started." ; export VSCODE_REMOTE_CONTAINERS_SESSION=6807bc10-d2d4-4d6e-af57-6da5228ce3341747435447277 ; /bin/sh
[17464 ms] Start: Inspecting container
[17464 ms] Start: Run: podman inspect --type container 0bcc30f173dc6271a26f80f2f331a92b072d6ddfd727423c3e2ae57e2945f48e
[17734 ms] Start: Run in container: /bin/sh
[17750 ms] Start: Run in container: uname -m
[17781 ms] New container started. Keep-alive process started.
[18009 ms] x86_64
[18009 ms] 
[18009 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[18059 ms] PRETTY_NAME="Ubuntu 24.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.2 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
[18059 ms] 
[18059 ms] Start: Run in container:  (command -v getent >/dev/null 2>&1 && getent passwd 'vscode' || grep -E '^vscode|^[^:]*:[^:]*:vscode:' /etc/passwd || true)
[18110 ms] Start: Run in container: /bin/sh
[18124 ms] Start: Run in container: stat -c %u /workspaces/PowerShell
[18409 ms] 1000
[18409 ms] 
[18410 ms] Start: Run in container: stat -c %u /tmp/devcontainer-config-7c8c5c1d-5fae-4055-8cb8-7f13d90c8482/.devcontainer/devcontainer.json
[18459 ms] 
[18459 ms] stat: cannot statx '/tmp/devcontainer-config-7c8c5c1d-5fae-4055-8cb8-7f13d90c8482/.devcontainer/devcontainer.json': No such file or directory
[18459 ms] Exit code 1
[18460 ms] Start: Run: podman rm -f 40540d897439f11b474def33ebeee60b7ccc020b67873850c06753bd051fdb53
[18462 ms] Command in container failed: stat -c %u /tmp/devcontainer-config-7c8c5c1d-5fae-4055-8cb8-7f13d90c8482/.devcontainer/devcontainer.json
[18462 ms] stat: cannot statx '/tmp/devcontainer-config-7c8c5c1d-5fae-4055-8cb8-7f13d90c8482/.devcontainer/devcontainer.json': No such file or directory
[18462 ms] Exit code 1
[29033 ms] Container server: Error: no exec session with ID abe8791f7884483de7ea9a98101a8584103d6ccfeda6d3bb4247dce51d68545e found: no such exec session
[29039 ms] Container server terminated (code: 125, signal: null).
[29040 ms] Container server terminated. Reconnecting in 5 seconds...

Key log line:

[18462 ms] Command in container failed: stat -c %u /tmp/devcontainer-config-7c8c5c1d-5fae-4055-8cb8-7f13d90c8482/.devcontainer/devcontainer.json
[18462 ms] stat: cannot statx '/tmp/devcontainer-config-7c8c5c1d-5fae-4055-8cb8-7f13d90c8482/.devcontainer/devcontainer.json': No such file or directory

Workaround

Delete the existing container/volume and then choose rebuild. It will build correctly
Does not happen on bind mounts in WSL, however there are the usual performance issues associated with that approach.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugcontainersIssue in vscode-remote containerspodmanDev Container using Podman

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions