mirror of
https://github.com/docker/compose.git
synced 2026-10-20 19:02:47 +00:00
add support for COMPOSE_IGNORE_ORPHANS
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
99e75639d6
commit
bc25259f07
4 changed files with 11 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue