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

Add flag similar to --pull always

Aperta
#1,161 4 commenti 1 reazione 1 assegnatario Vedi su GitHub

@v-Kaniska244 ci sta già lavorando.

Dal 28/4/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

We are using devcontainer cli tools with dockerComposeFile. Our compose file has a number of dependency images.

Docker compose has docker compose --pull always flag that will

  1. Pull images if compose file was changed
  2. Re-create containers only for the services which images were changed

Unfortunately there're no alternatives in devcontainer cli tools:

  • We can use docker compose pull && devcontainer up but it won't re-create updated services;
  • We can use docker compose pull && devcontainer up --remove-existing-container but it will recreate the main (i.e. devcontainer) service even if image wasn't changed. We want to avoid re-creating the main service every time because it runs long postCreate scripts.

Is it possible to provide flag similar to --remove-existing-container that will be translated to --pull always that will recreate only changed services?

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.