mirror of https://github.com/docker/cli.git
add port PublishMode to service inspect --pretty output
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
This commit is contained in:
parent
20954b356b
commit
3988259bcb
|
@ -125,15 +125,18 @@ Service Mode: REPLICATED
|
|||
Placement:
|
||||
UpdateConfig:
|
||||
Parallelism: 0
|
||||
On failure: pause
|
||||
Max failure ratio: 0
|
||||
ContainerSpec:
|
||||
Image: nginx:alpine
|
||||
Resources:
|
||||
Networks: net1
|
||||
Endpoint Mode: vip
|
||||
Ports:
|
||||
Name =
|
||||
Protocol = tcp
|
||||
TargetPort = 443
|
||||
PublishedPort = 4443
|
||||
Protocol = tcp
|
||||
TargetPort = 443
|
||||
PublishMode = ingress
|
||||
```
|
||||
|
||||
You can also use `--format pretty` for the same effect.
|
||||
|
|
Loading…
Reference in New Issue