Merge pull request #4188 from finalchild/autoremove

Explain the auto-removal of anonymous volumes at the description of 'create --rm' and 'run --rm'
This commit is contained in:
Paweł Gronowski
2026-05-14 12:03:24 +02:00
committed by GitHub
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -618,7 +618,7 @@ its root filesystem mounted as read only prohibiting any writes.
Default is **no**.
**--rm** **true**|**false**
Automatically remove the container when it exits. The default is **false**.
Automatically remove the container and its associated anonymous volumes when it exits. The default is **false**.
`--rm` flag can work together with `-d`, and auto-removal will be done on
daemon side. Note that it's incompatible with any restart policy other than
`none`.