Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

`up`  hangs indefinitely when the container start event is missed (warm daemon + cached image)

Aperta
#1,269 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@v-Kaniska244 ci sta già lavorando.

Dal 24/7/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

What happened
On a warm Docker daemon with an already-built/cached image,  devcontainer up occasionally hangs forever. The container is created and running, but the CLI never proceeds to the lifecycle hooks.

Root cause
In  spawnDevContainer ,  startEventSeen  spawns docker events --filter event=start and then docker run follows almost immediately. With a cached image the container starts before the events listener has finished subscribing, so the start event is missed and awaited indefinitely.

Impact
 up hangs with no timeout; lifecycle hooks ( onCreate / postCreate / postStart ) never run.

Environment

•  @devcontainers/cli : 0.60.0
• Docker Engine: 29.6.1 (API 1.55), backend linux/amd64
• Node.js: v24.12.0 (from your Output pane), host Windows 10.0.26100

• Repro: warm daemon, image already cached, then  devcontainer up

Lingua principale
TypeScript
Stelle
3k
Fork
461
Merge medio
18m
PR unite (30g)
5

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di devcontainers/cli

Tutte le issue di devcontainers/cli

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.