mirror of
https://github.com/docker/cli.git
synced 2026-09-28 02:06:53 -04:00
add expose and publish filter in swagger.yml and CLI docs for docker/master
Signed-off-by: allencloud <allen.sun@daocloud.io>
Upstream-commit: 1507e86ada
Component: cli
This commit is contained in:
@@ -26,6 +26,7 @@ Options:
|
|||||||
- ancestor=(<image-name>[:tag]|<image-id>|<image@digest>)
|
- ancestor=(<image-name>[:tag]|<image-id>|<image@digest>)
|
||||||
containers created from an image or a descendant.
|
containers created from an image or a descendant.
|
||||||
- before=(<container-name>|<container-id>)
|
- before=(<container-name>|<container-id>)
|
||||||
|
- expose=(<port>[/<proto>]|<startport-endport>/[<proto>])
|
||||||
- exited=<int> an exit code of <int>
|
- exited=<int> an exit code of <int>
|
||||||
- health=(starting|healthy|unhealthy|none)
|
- health=(starting|healthy|unhealthy|none)
|
||||||
- id=<ID> a container's ID
|
- id=<ID> a container's ID
|
||||||
@@ -34,6 +35,7 @@ Options:
|
|||||||
- label=<key> or label=<key>=<value>
|
- label=<key> or label=<key>=<value>
|
||||||
- name=<string> a container's name
|
- name=<string> a container's name
|
||||||
- network=(<network-id>|<network-name>)
|
- network=(<network-id>|<network-name>)
|
||||||
|
- publish=(<port>[/<proto>]|<startport-endport>/[<proto>])
|
||||||
- since=(<container-name>|<container-id>)
|
- since=(<container-name>|<container-id>)
|
||||||
- status=(created|restarting|removing|running|paused|exited)
|
- status=(created|restarting|removing|running|paused|exited)
|
||||||
- volume=(<volume name>|<mount point destination>)
|
- volume=(<volume name>|<mount point destination>)
|
||||||
|
|||||||
Reference in New Issue
Block a user