summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/api.md9
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/api.md b/docs/api.md
index d45626c..f7531a3 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -135,6 +135,10 @@ non-running ones
non-running ones
* limit (int): Show `limit` last created containers, include non-running ones
* size (bool): Display sizes
+* filters (dict): Filters to be processed on the image list. Available filters:
+ - `exited` (int): Only containers with specified exit code
+ - `status` (str): One of `restarting`, `running`, `paused`, `exited`
+
**Returns** (dict): The system's containers
@@ -355,11 +359,12 @@ List images. Identical to the `docker images` command.
**Params**:
-* name (str): Optional filter for a name
+* name (str): Only show images belonging to the repository `name`
* quiet (bool): Only show numeric Ids. Returns a list
* all (bool): Show all images (by default filter out the intermediate image
layers)
-* viz: *Depreciated*
+* filters (dict): Filters to be processed on the image list. Available filters:
+ - `dangling` (bool)
**Returns** (dict or list): A list if `quiet=True`, otherwise a dict.