devcontainers / templates

Repository for Dev Container Templates that are managed by Dev Container spec maintainers. See https://github.com/devcontainers/template-starter to create your own!
https://containers.dev/templates
MIT License
955 stars 245 forks source link

Stuck in "Replacing imageVariant with ..." step #242

Closed ysazak closed 4 months ago

ysazak commented 7 months ago

Hi,

When I try to create a Dev container with any template, it always stucks in "Replacing imageVariant with ..." step. Any idea what the problem is?

Example templates:

Log:

[22098 ms] [2024-02-25T21:32:56.429Z] Start: Run: docker-credential-wincred get
[22169 ms] [2024-02-25T21:32:56.500Z] Stop (71 ms): Run: docker-credential-wincred get
[22898 ms] [2024-02-25T21:32:57.230Z] Replacing imageVariant with 18-buster

Note: I use Rancher Desktop v1.12.3 with dockerd (moby) enabled

samruddhikhandale commented 6 months ago

@gauravsaini04 Can you help investigate this issue? Thanks!

philipf commented 5 months ago

Same issue for me.

Running:

I can run existing DevContainers, this issue only present itself when creating new Dev Containers.

[135771 ms] [2024-04-18T04:46:16.041Z] Start: Run: docker-credential-wincred get
[135827 ms] [2024-04-18T04:46:16.097Z] Stop (56 ms): Run: docker-credential-wincred get
[137147 ms] [2024-04-18T04:46:17.418Z] Replacing imageVariant with 3.12-bullseye

It seems to be stuck somewhere during the creation of an alpine:3.16.3 container.

samruddhikhandale commented 5 months ago

Hi 👋

When I try to create a Dev container with any template

@ysazak @philipf How are you adding new Templates to your existing dev container? Is it with the Dev Containers Extension or with the @devcontainers/cli? Can you explain me your repro steps, thanks!

Curious if you have looked at https://github.com/devcontainers/templates?tab=readme-ov-file#how-can-i-use-the-templates

philipf commented 5 months ago

Hi 👋

When I try to create a Dev container with any template

@ysazak @philipf How are you adding new Templates to your existing dev container? Is it with the Dev Containers Extension or with the @devcontainers/cli? Can you explain me your repro steps, thanks!

Curious if you have looked at https://github.com/devcontainers/templates?tab=readme-ov-file#how-can-i-use-the-templates

I used the Dev Containers Extension

gauravsaini04 commented 4 months ago

hi @ysazak, Are you still facing this issue ?

samruddhikhandale commented 4 months ago

Thanks @philipf for the information, looks like the issue is with the extension and not with the Templates or the CLI. However, the devcontainers team does not maintain the Dev containers extension.

Can you open an issue in https://github.com/microsoft/vscode-remote-release/issues? The VS Code team should be able to help you provide guidance. Thanks!

andi-blafasl commented 3 months ago

I'm experiencing the exact same behavior with Rancher Desktop. Switching vom Rancher to Docker Desktop, everything is working fine.