From c50c75419b80791d6dd086ced608c41b2f3d96b6 Mon Sep 17 00:00:00 2001 From: baude Date: Tue, 22 Dec 2020 09:15:28 -0600 Subject: 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 --- pkg/api/server/register_containers.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/api/server') diff --git a/pkg/api/server/register_containers.go b/pkg/api/server/register_containers.go index 870c6a90c..b80dea545 100644 --- a/pkg/api/server/register_containers.go +++ b/pkg/api/server/register_containers.go @@ -690,6 +690,7 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error { // - `label`=(`key` or `"key=value"`) of an container label // - `name=` a container's name // - `network`=(`` or ``) + // - `pod`=(`` or ``) // - `publish`=(`[/]` or `/[]`) // - `since`=(`` or ``) // - `status`=(`created`, `restarting`, `running`, `removing`, `paused`, `exited` or `dead`) -- cgit v1.2.3-54-g00ecf