Skip to content

Commit fcff396

Browse files
PIG208ndeloof
authored andcommitted
Add documentation for COMPOSE_IGNORE_ORPHANS
Signed-off-by: Zixuan James Li <[email protected]>
1 parent bcaa908 commit fcff396

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/reference/compose.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,6 @@ Setting the `COMPOSE_FILE` environment variable is equivalent to passing the `-f
9999
and so does `COMPOSE_PROFILES` environment variable for to the `--profiles` flag.
100100

101101
If flags are explicitly set on command line, associated environment variable is ignored
102+
103+
Setting the `COMPOSE_IGNORE_ORPHANS` environment variable to `true` will stop docker compose from detecting orphaned
104+
containers for the project.

docs/reference/docker_compose.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ long: |-
9898
and so does `COMPOSE_PROFILES` environment variable for to the `--profiles` flag.
9999
100100
If flags are explicitly set on command line, associated environment variable is ignored
101+
102+
Setting the `COMPOSE_IGNORE_ORPHANS` environment variable to `true` will stop docker compose from detecting orphaned
103+
containers for the project.
101104
usage: docker compose
102105
pname: docker
103106
plink: docker.yaml

0 commit comments

Comments
 (0)