diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2022-07-14 19:16:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-14 19:16:05 +0000 |
commit | f6e41e77c75826b141291940e7678e63c0ec2351 (patch) | |
tree | 6ef05dd35b69bd870b0f5355646123ecc98c090f /docs/source/markdown/podman-stop.1.md | |
parent | 313ec3e2518745147438c28f8461eef6f629eab9 (diff) | |
parent | a2f6cc74e72edf0b7045c8410ed3f45489999e2b (diff) | |
download | podman-f6e41e77c75826b141291940e7678e63c0ec2351.tar.gz podman-f6e41e77c75826b141291940e7678e63c0ec2351.tar.bz2 podman-f6e41e77c75826b141291940e7678e63c0ec2351.zip |
Merge pull request #14832 from karthikelango137/filterFlagStop
Podman stop --filter flag
Diffstat (limited to 'docs/source/markdown/podman-stop.1.md')
-rw-r--r-- | docs/source/markdown/podman-stop.1.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-stop.1.md b/docs/source/markdown/podman-stop.1.md index e35ab9182..cfc49afa1 100644 --- a/docs/source/markdown/podman-stop.1.md +++ b/docs/source/markdown/podman-stop.1.md @@ -25,6 +25,30 @@ Stop all running containers. This does not include paused containers. Read container ID from the specified file and remove the container. Can be specified multiple times. +#### **--filter**, **-f**=*filter* + +Filter what containers are going to be stopped. +Multiple filters can be given with multiple uses of the --filter flag. +Filters with the same key work inclusive with the only exception being +`label` which is exclusive. Filters with different keys always work exclusive. + +Valid filters are listed below: + +| **Filter** | **Description** | +| --------------- | -------------------------------------------------------------------------------- | +| id | [ID] Container's ID (accepts regex) | +| name | [Name] Container's name (accepts regex) | +| label | [Key] or [Key=Value] Label assigned to a container | +| exited | [Int] Container's exit code | +| status | [Status] Container's status: 'created', 'exited', 'paused', 'running', 'unknown' | +| ancestor | [ImageName] Image or descendant used to create container | +| before | [ID] or [Name] Containers created before this container | +| since | [ID] or [Name] Containers created since this container | +| volume | [VolumeName] or [MountpointDestination] Volume mounted in container | +| health | [Status] healthy or unhealthy | +| pod | [Pod] name or full or partial ID of pod | +| network | [Network] name or full ID of network | + #### **--ignore**, **-i** Ignore errors when specified containers are not in the container store. A user |