aboutsummaryrefslogtreecommitdiff
path: root/docs/podman-ps.1.md
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2018-11-28 12:48:58 -0500
committerMatthew Heon <mheon@redhat.com>2018-12-06 09:10:45 -0500
commit28bead8be8eb541cf0c78e6ee3a3963adc8d1d3a (patch)
tree4797664994d7a0639f40ab0526bbc0466d66a330 /docs/podman-ps.1.md
parenta0c9be20617a871c6cb61f27516565af36338d7a (diff)
downloadpodman-28bead8be8eb541cf0c78e6ee3a3963adc8d1d3a.tar.gz
podman-28bead8be8eb541cf0c78e6ee3a3963adc8d1d3a.tar.bz2
podman-28bead8be8eb541cf0c78e6ee3a3963adc8d1d3a.zip
Add --sync flag to podman ps
The previous commit added support for --sync to podman rm to ensure state inconsistencies would not prevent containers from being removed. Add the flag to podman ps as well, so that all containers can be forcibly synced and all state inconsistencies resolved. Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'docs/podman-ps.1.md')
-rw-r--r--docs/podman-ps.1.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/podman-ps.1.md b/docs/podman-ps.1.md
index 7333a1095..8b86703d8 100644
--- a/docs/podman-ps.1.md
+++ b/docs/podman-ps.1.md
@@ -103,6 +103,13 @@ Valid filters are listed below:
Print usage statement
+**--sync**
+
+Force a sync of container state with the OCI runtime.
+In some cases, a container's state in the runtime can become out of sync with Podman's state.
+This will update Podman's state based on what the OCI runtime reports.
+Forcibly syncing is much slower, but can resolve inconsistent state issues.
+
## EXAMPLES
```