mirror of
https://github.com/containers/podman.git
synced 2025-06-22 18:08:11 +08:00
add pod filter for ps
adds the ability to filter containers based on the filter "pod". the value can be a pod name or its full or partial id. Fixes: #8512 Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
@ -690,6 +690,7 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
|
||||
// - `label`=(`key` or `"key=value"`) of an container label
|
||||
// - `name=<name>` a container's name
|
||||
// - `network`=(`<network id>` or `<network name>`)
|
||||
// - `pod`=(`<pod id>` or `<pod name>`)
|
||||
// - `publish`=(`<port>[/<proto>]` or `<startport-endport>/[<proto>]`)
|
||||
// - `since`=(`<container id>` or `<container name>`)
|
||||
// - `status`=(`created`, `restarting`, `running`, `removing`, `paused`, `exited` or `dead`)
|
||||
|
Reference in New Issue
Block a user