Restrict compose project to selected services and dependencies on compose start

Signed-off-by: Laura Brehm <laurabrehm@hey.com>
This commit is contained in:
Laura Brehm 2022-09-06 20:31:42 +02:00
parent 361194472e
commit 209293e449
No known key found for this signature in database
GPG key ID: 526E3FC49260D47A
4 changed files with 27 additions and 10 deletions

View file

@ -129,6 +129,8 @@ type StartOptions struct {
ExitCodeFrom string
// Wait won't return until containers reached the running|healthy state
Wait bool
// Services passed in the command line to be started
Services []string
}
// RestartOptions group options of the Restart API