Correct parameter names for --publish long syntax (#5457)

This commit is contained in:
Lachlan Cooper 2017-12-13 07:59:30 +11:00 committed by Misty Stanley-Jones
parent a8dac1ad4e
commit a6edcadac9

View File

@ -325,7 +325,7 @@ $ docker service create \
-e REGISTRY_HTTP_ADDR=0.0.0.0:80 \ -e REGISTRY_HTTP_ADDR=0.0.0.0:80 \
-e REGISTRY_HTTP_TLS_CERTIFICATE=/run/secrets/domain.crt \ -e REGISTRY_HTTP_TLS_CERTIFICATE=/run/secrets/domain.crt \
-e REGISTRY_HTTP_TLS_KEY=/run/secrets/domain.key \ -e REGISTRY_HTTP_TLS_KEY=/run/secrets/domain.key \
--publish target=80,port=80 \ --publish published=80,target=80 \
--replicas 1 \ --replicas 1 \
registry:2 registry:2
``` ```