Dev contain get stuck when "[4751926 ms] Start: Run: docker version --format {{json .}}" #10726
Labels
bug
Issue identified by VS Code Team member as probable bug
containers
Issue in vscode-remote containers
info-needed
Issue requires more information from poster
[714 ms] Dev Containers 0.397.0 over Remote - SSH 0.117.1 in VS Code 1.96.4 (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba).
[714 ms] Start: Loading environment from ExecServer
[799 ms] Host OS: linux 6.11.0-17-generic
[799 ms] Host CWD: /data
[800 ms] Start: Run: /bin/sh
[1319 ms] Start: Run in host: echo ~
[1443 ms] /home/danshuochen
[1444 ms]
[1444 ms] Start: Run in host: id -un
[1561 ms] danshuochen
[1561 ms]
[1561 ms] Start: Run in host: (command -v getent >/dev/null 2>&1 && getent passwd 'danshuochen' || grep -E '^danshuochen|^[^:]:[^:]:danshuochen:' /etc/passwd || true)
[1685 ms] userEnvProbe: loginInteractiveShell (default)
[1685 ms] userEnvProbe: not found in cache
[1685 ms] userEnvProbe shell: /bin/bash
[2321 ms] userEnvProbe PATHs:
Probe: '/home/danshuochen/miniconda3/bin:/home/danshuochen/miniconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin'
Container: None
[2773 ms] Initializing configuration support...
[2773 ms] Internal initialization of dev container support package...
[741687 ms] Start: Run: docker version --format {{json .}}
docker version:
Client: Docker Engine - Community
Version: 28.0.0
API version: 1.45 (downgraded from 1.48)
Go version: go1.23.6
Git commit: f9ced58
Built: Wed Feb 19 22:11:04 2025
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 26.0.0
API version: 1.45 (minimum version 1.24)
Go version: go1.21.8
Git commit: 8b79278
Built: Wed Mar 20 15:17:48 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.7.25
GitCommit: bcc810d6b9066471b0b6fa75f557a15a1cbf31bb
runc:
Version: 1.2.4
GitCommit: v1.2.4-0-g6c52b3f
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Steps to Reproduce:
sudo apt-get install docker-ce=5:26.0.0-1~ubuntu.24.04~noble
"attach the container in vscode
" and it is stuck at[4751926 ms] Start: Run: docker version --format {{json .}}
Does this issue occur when you try this locally?: Yes
Does this issue occur when you try this locally and all extensions are disabled?: not clear
In addition, I ran the command
docker version --format "{{json .}}"
instead, and it works fine.The text was updated successfully, but these errors were encountered: