podman-ps: update page (#10610)

pull/23/head
K.B.Dharun Krishna 2023-08-17 19:38:51 +05:30 committed by GitHub
parent 20d4065dbf
commit 20a1678e7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@
- Filter containers that contain a substring in their name: - Filter containers that contain a substring in their name:
`podman ps --filter="name={{name}}"` `podman ps --filter "name={{name}}"`
- Filter containers that share a given image as an ancestor: - Filter containers that share a given image as an ancestor:
@ -25,12 +25,12 @@
- Filter containers by exit status code: - Filter containers by exit status code:
`podman ps --all --filter="exited={{code}}"` `podman ps --all --filter "exited={{code}}"`
- Filter containers by status (created, running, removing, paused, exited and dead): - Filter containers by status (created, running, removing, paused, exited and dead):
`podman ps --filter="status={{status}}"` `podman ps --filter "status={{status}}"`
- Filter containers that mount a specific volume or have a volume mounted in a specific path: - Filter containers that mount a specific volume or have a volume mounted in a specific path:
`podman ps --filter="volume={{path/to/directory}}" --format "table {{.ID}}\t{{.Image}}\t{{.Names}}\t{{.Mounts}}"` `podman ps --filter "volume={{path/to/directory}}" --format "table {{.ID}}\t{{.Image}}\t{{.Names}}\t{{.Mounts}}"`