Kaydet (Commit) d6b42c48 authored tarafından Joir-dan Gumbs's avatar Joir-dan Gumbs Kaydeden (comit) Joir-dan Gumbs

Added extra filtering options to containers command in ClientAPI

Signed-off-by: 's avatarJoir-dan Gumbs <jdagumbs@gmail.com>
Signed-off-by: 's avatarJoir-dan Gumbs <jgumbs@us.ibm.com>
üst 3162c783
...@@ -148,6 +148,11 @@ non-running ones ...@@ -148,6 +148,11 @@ non-running ones
- `exited` (int): Only containers with specified exit code - `exited` (int): Only containers with specified exit code
- `status` (str): One of `restarting`, `running`, `paused`, `exited` - `status` (str): One of `restarting`, `running`, `paused`, `exited`
- `label` (str): format either `"key"` or `"key=value"` - `label` (str): format either `"key"` or `"key=value"`
- `id` (str): The id of the container.
- `name` (str): The name of the container.
- `ancestor` (str): Filter by container ancestor. Format of `<image-name>[:tag]`, `<image-id>`, or `<image@digest>`.
- `before` (str): Only containers created before a particular container. Give the container name or id.
- `since` (str): Only containers created after a particular container. Give container name or id.
**Returns** (dict): The system's containers **Returns** (dict): The system's containers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment