Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev contain get stuck when "[4751926 ms] Start: Run: docker version --format {{json .}}" #10726

Open
itapty-ily opened this issue Feb 23, 2025 · 1 comment
Assignees
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

Comments

@itapty-ily
Copy link

  • VSCode Version: 1.96.4
  • Local OS Version: win10
  • Remote OS Version: ubuntu 24.04
  • Remote Extension/Connection Type: Dev Containers
  • Logs:
    [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:

  1. install the docker with command "sudo apt-get install docker-ce=5:26.0.0-1~ubuntu.24.04~noble"
  2. start one container with docker run and click "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.

@vs-code-engineering vs-code-engineering bot added the containers Issue in vscode-remote containers label Feb 23, 2025
@chrmarti
Copy link
Contributor

Could you retry with trace logging enabled and attach the resulting log from that?

Image

@chrmarti chrmarti added info-needed Issue requires more information from poster bug Issue identified by VS Code Team member as probable bug labels Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants