Skip to content

Commit 652e5b8

Browse files
committed
Added 'label' to list of filters
1 parent 5b9d088 commit 652e5b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/api.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ non-running ones
144144
* filters (dict): Filters to be processed on the image list. Available filters:
145145
- `exited` (int): Only containers with specified exit code
146146
- `status` (str): One of `restarting`, `running`, `paused`, `exited`
147-
147+
- `label` (str): format either `"key"` or `"key=value"`
148148

149149
**Returns** (dict): The system's containers
150150

@@ -371,6 +371,7 @@ List images. Identical to the `docker images` command.
371371
layers)
372372
* filters (dict): Filters to be processed on the image list. Available filters:
373373
- `dangling` (bool)
374+
- `label` (str): format either `"key"` or `"key=value"`
374375

375376
**Returns** (dict or list): A list if `quiet=True`, otherwise a dict.
376377

0 commit comments

Comments
 (0)