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:
|
Placement:
|
||||||
UpdateConfig:
|
UpdateConfig:
|
||||||
Parallelism: 0
|
Parallelism: 0
|
||||||
|
On failure: pause
|
||||||
|
Max failure ratio: 0
|
||||||
ContainerSpec:
|
ContainerSpec:
|
||||||
Image: nginx:alpine
|
Image: nginx:alpine
|
||||||
Resources:
|
Resources:
|
||||||
|
Networks: net1
|
||||||
Endpoint Mode: vip
|
Endpoint Mode: vip
|
||||||
Ports:
|
Ports:
|
||||||
Name =
|
|
||||||
Protocol = tcp
|
|
||||||
TargetPort = 443
|
|
||||||
PublishedPort = 4443
|
PublishedPort = 4443
|
||||||
|
Protocol = tcp
|
||||||
|
TargetPort = 443
|
||||||
|
PublishMode = ingress
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also use `--format pretty` for the same effect.
|
You can also use `--format pretty` for the same effect.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user