add expose and publish filter in swagger.yml and CLI docs for docker/master
Signed-off-by: allencloud <allen.sun@daocloud.io> Upstream-commit: 44bd658913647ddadc3c225233c08ee61ef3c5ed Component: engine
This commit is contained in:
@@ -2488,6 +2488,7 @@ paths:
|
||||
|
||||
- `ancestor`=(`<image-name>[:<tag>]`, `<image id>`, or `<image@digest>`)
|
||||
- `before`=(`<container id>` or `<container name>`)
|
||||
- `expose`=(`<port>[/<proto>]`|`<startport-endport>/[<proto>]`)
|
||||
- `exited=<int>` containers with exit code of `<int>`
|
||||
- `health`=(`starting`|`healthy`|`unhealthy`|`none`)
|
||||
- `id=<ID>` a container's ID
|
||||
@@ -2496,6 +2497,7 @@ paths:
|
||||
- `label=key` or `label="key=value"` of a container label
|
||||
- `name=<name>` a container's name
|
||||
- `network`=(`<network id>` or `<network name>`)
|
||||
- `publish`=(`<port>[/<proto>]`|`<startport-endport>/[<proto>]`)
|
||||
- `since`=(`<container id>` or `<container name>`)
|
||||
- `status=`(`created`|`restarting`|`running`|`removing`|`paused`|`exited`|`dead`)
|
||||
- `volume`=(`<volume name>` or `<mount point destination>`)
|
||||
|
||||
@@ -26,6 +26,7 @@ Options:
|
||||
- ancestor=(<image-name>[:tag]|<image-id>|<image@digest>)
|
||||
containers created from an image or a descendant.
|
||||
- before=(<container-name>|<container-id>)
|
||||
- expose=(<port>[/<proto>]|<startport-endport>/[<proto>])
|
||||
- exited=<int> an exit code of <int>
|
||||
- health=(starting|healthy|unhealthy|none)
|
||||
- id=<ID> a container's ID
|
||||
@@ -34,6 +35,7 @@ Options:
|
||||
- label=<key> or label=<key>=<value>
|
||||
- name=<string> a container's name
|
||||
- network=(<network-id>|<network-name>)
|
||||
- publish=(<port>[/<proto>]|<startport-endport>/[<proto>])
|
||||
- since=(<container-name>|<container-id>)
|
||||
- status=(created|restarting|removing|running|paused|exited)
|
||||
- volume=(<volume name>|<mount point destination>)
|
||||
|
||||
Reference in New Issue
Block a user