add support for COMPOSE_IGNORE_ORPHANS

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2021-09-24 08:22:50 +02:00
parent 99e75639d6
commit bc25259f07
No known key found for this signature in database
GPG key ID: 9858809D6F8F6E7E
4 changed files with 11 additions and 1 deletions

View file

@ -100,6 +100,8 @@ type CreateOptions struct {
Services []string
// Remove legacy containers for services that are not defined in the project
RemoveOrphans bool
// Ignore legacy containers for services that are not defined in the project
IgnoreOrphans bool
// Recreate define the strategy to apply on existing containers
Recreate string
// RecreateDependencies define the strategy to apply on dependencies services