summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/podman-create.1.md4
-rw-r--r--docs/podman-run.1.md4
2 files changed, 8 insertions, 0 deletions
diff --git a/docs/podman-create.1.md b/docs/podman-create.1.md
index b396fb6b5..1866d68a4 100644
--- a/docs/podman-create.1.md
+++ b/docs/podman-create.1.md
@@ -477,6 +477,10 @@ its root filesystem mounted as read only prohibiting any writes.
Automatically remove the container when it exits. The default is *false*.
+Note that the container will not be removed when it could not be created or
+started successfully. This allows the user to inspect the container after
+failure. The `--rm` flag is incompatible with the `-d` flag.
+
**--rootfs**
If specified, the first argument refers to an exploded container on the file system.
diff --git a/docs/podman-run.1.md b/docs/podman-run.1.md
index 482ca1b32..8df8b08fe 100644
--- a/docs/podman-run.1.md
+++ b/docs/podman-run.1.md
@@ -498,6 +498,10 @@ its root filesystem mounted as read only prohibiting any writes.
Automatically remove the container when it exits. The default is *false*.
+Note that the container will not be removed when it could not be created or
+started successfully. This allows the user to inspect the container after
+failure. The `--rm` flag is incompatible with the `-d` flag.
+
**--rootfs**
If specified, the first argument refers to an exploded container on the file system.