Add PORTS
field for docker service ls
(ingress
)
This fix is related to 30232 wherw `docker service ls` does not show `PORTS` information like `docker service ps`. This fix adds `PORTS` fields for services that publish ports in ingress mode. Additional unit tests cases have been updated. This fix is related to 30232. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
parent
764c84342d
commit
04afeb636e
@ -137,6 +137,7 @@ Placeholder | Description
|
||||
`.Mode` | Service mode (replicated, global)
|
||||
`.Replicas` | Service replicas
|
||||
`.Image` | Service image
|
||||
`.Ports` | Service ports published in ingress mode
|
||||
|
||||
When using the `--format` option, the `service ls` command will either
|
||||
output the data exactly as the template declares or, when using the
|
||||
|
Loading…
x
Reference in New Issue
Block a user