From 50e775a4a6872ccaad0a623ac8de360d3fa93b6b Mon Sep 17 00:00:00 2001 From: Misty Stanley-Jones Date: Thu, 30 Nov 2017 09:51:49 -0800 Subject: [PATCH] Fix example labels (#5419) --- engine/swarm/ingress.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/swarm/ingress.md b/engine/swarm/ingress.md index 376e2d670a..67117fd662 100644 --- a/engine/swarm/ingress.md +++ b/engine/swarm/ingress.md @@ -43,7 +43,7 @@ $ docker service create \ > `-p 8080:80`. The new syntax is preferred because it is easier to read and > allows more flexibility. -The `` is the port where the container listens. If you omit it, +The `` is the port where the container listens. If you omit it, a random high-numbered port is bound. The `` is the port where the swarm makes the service available. This parameter is required. @@ -90,8 +90,8 @@ $ docker service inspect --format="{{json .Endpoint.Spec.Ports}}" my-web {% endraw %} ``` -The output shows the `` from the containers and the -`` where nodes listen for requests for the service. +The output shows the `` (labeled `TargetPort`) from the containers and the +`` (labeled `PublishedPort`) where nodes listen for requests for the service. ### Publish a port for TCP only or UDP only