mirror of https://github.com/docker/cli.git
ceb18a841a
Ports that were picked from the ephemeral port range were presented as `*:0->80/tcp`. This patch changes the presentation to use the actually assigned port, instead of the port specified in `Endpoint.Spec` (which is always empty/zero (`0`)) Before this change; ID NAME MODE REPLICAS IMAGE PORTS 5d44i665qj66 with-random-port replicated 1/1 nginx:alpine *:0->80/tcp After this change; ID NAME MODE REPLICAS IMAGE PORTS 5d44i665qj66 with-random-port replicated 1/1 nginx:alpine *:30000->80/tcp Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
builders | ||
network | ||
cli.go | ||
doc.go | ||
store.go |