add run subcommand

Aperta
#43 2 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
54/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
docker, swift
Ambito
cli, devops

Direzione di ricerca

Read the command handling for container-compose up and compare its behavior with the requested docker compose run workflow. Add a subcommand for running a one-off container command that waits for it to exit and reports whether it succeeded; verify it using the Postgres and Flyway scenario described in the issue.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

I may have missed the feature, but what I'm missing is an equivalent to docker compose run. My setup is a Postgres container that I start in the background (container-compose up -d postgres) and then a flyway container that I run as a one-off command, not in a detached state, but I wait until it exits to know the migration went through without problems. Currently, when I use container-compose up flyway, it will not exit after the command finishes.

Lingua principale
Swift
Stelle
1k
Fork
61
Merge medio
2g 4h
PR unite (30g)
17

Preparare l'ambiente

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 Mcrich23/Container-Compose

Tutte le issue di Mcrich23/Container-Compose

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.