From a6edcadac929d3c204b2bfddbfcf164a851486ca Mon Sep 17 00:00:00 2001 From: Lachlan Cooper Date: Wed, 13 Dec 2017 07:59:30 +1100 Subject: [PATCH] Correct parameter names for --publish long syntax (#5457) --- docs/deploying.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/deploying.md b/docs/deploying.md index ae7f187f..1c9048b1 100644 --- a/docs/deploying.md +++ b/docs/deploying.md @@ -325,7 +325,7 @@ $ docker service create \ -e REGISTRY_HTTP_ADDR=0.0.0.0:80 \ -e REGISTRY_HTTP_TLS_CERTIFICATE=/run/secrets/domain.crt \ -e REGISTRY_HTTP_TLS_KEY=/run/secrets/domain.key \ - --publish target=80,port=80 \ + --publish published=80,target=80 \ --replicas 1 \ registry:2 ```