From 13e819b889fb54c1002d55915fcccb797d133029 Mon Sep 17 00:00:00 2001 From: Kevin Tang Date: Wed, 26 Oct 2016 10:52:24 -0400 Subject: [PATCH] Use the correct service name when linking --- .../getting-started/deploy-app/9_load-balance_the_service.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-cloud/getting-started/deploy-app/9_load-balance_the_service.md b/docker-cloud/getting-started/deploy-app/9_load-balance_the_service.md index 11775c4d07..13ba6a26ca 100644 --- a/docker-cloud/getting-started/deploy-app/9_load-balance_the_service.md +++ b/docker-cloud/getting-started/deploy-app/9_load-balance_the_service.md @@ -29,7 +29,7 @@ $ docker-cloud service run \ -p 80:80/tcp \ --role global \ --autorestart ALWAYS \ ---link-service quickstart-python:web \ +--link-service web:web \ --name lb \ dockercloud/haproxy ``` @@ -40,7 +40,7 @@ dockercloud/haproxy **--autorestart ALWAYS** tells Docker Cloud to always [restart the containers](../../apps/autorestart.md) if they stop. -**--link-service quickstart-python:web** links your load balancer service *haproxy* with the service *quickstart-python*, and names the link *web*. (Learn more about Service Linking [here](../../apps/service-links.md).) +**--link-service web:web** links your load balancer service *haproxy* with the *web* service, and names the link *web*. (Learn more about Service Linking [here](../../apps/service-links.md).) **--name lb** names the service *lb* (short for *load balancer*).