mirror of https://github.com/docker/cli.git
Fix filters displaying for docker search
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
This commit is contained in:
parent
e3746d388e
commit
bd64ad25fb
|
@ -94,7 +94,6 @@ radial/busyboxplus Full-chain, Internet enabled, busybox made from scratch. Co
|
||||||
The flag `--limit` is the maximum number of results returned by a search. This value could
|
The flag `--limit` is the maximum number of results returned by a search. This value could
|
||||||
be in the range between 1 and 100. The default value of `--limit` is 25.
|
be in the range between 1 and 100. The default value of `--limit` is 25.
|
||||||
|
|
||||||
|
|
||||||
### Filtering
|
### Filtering
|
||||||
|
|
||||||
The filtering flag (`-f` or `--filter`) format is a `key=value` pair. If there is more
|
The filtering flag (`-f` or `--filter`) format is a `key=value` pair. If there is more
|
||||||
|
@ -103,9 +102,8 @@ than one filter, then pass multiple flags (e.g. `--filter "foo=bar" --filter "bi
|
||||||
The currently supported filters are:
|
The currently supported filters are:
|
||||||
|
|
||||||
* stars (int - number of stars the image has)
|
* stars (int - number of stars the image has)
|
||||||
* is-automated (true|false) - is the image automated or not
|
* is-automated (boolean - true or false) - is the image automated or not
|
||||||
* is-official (true|false) - is the image official or not
|
* is-official (boolean - true or false) - is the image official or not
|
||||||
|
|
||||||
|
|
||||||
#### stars
|
#### stars
|
||||||
|
|
||||||
|
@ -121,7 +119,6 @@ progrium/busybox 50
|
||||||
radial/busyboxplus Full-chain, Internet enabled, busybox made... 8 [OK]
|
radial/busyboxplus Full-chain, Internet enabled, busybox made... 8 [OK]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
#### is-automated
|
#### is-automated
|
||||||
|
|
||||||
This example displays images with a name containing 'busybox'
|
This example displays images with a name containing 'busybox'
|
||||||
|
|
Loading…
Reference in New Issue