Merge pull request #8057 from Mueslint/patch-2

Update deploying.md
This commit is contained in:
Maria Bermudez 2019-02-04 10:24:21 -08:00 committed by GitHub
commit 415f4f4837

View file

@ -216,7 +216,7 @@ If you have been issued an _intermediate_ certificate instead, see
$ docker run -d \
--restart=always \
--name registry \
-v `pwd`/certs:/certs \
-v "$(pwd)"/certs:/certs \
-e REGISTRY_HTTP_ADDR=0.0.0.0:443 \
-e REGISTRY_HTTP_TLS_CERTIFICATE=/certs/domain.crt \
-e REGISTRY_HTTP_TLS_KEY=/certs/domain.key \
@ -425,11 +425,11 @@ secrets.
-p 5000:5000 \
--restart=always \
--name registry \
-v `pwd`/auth:/auth \
-v "$(pwd)"/auth:/auth \
-e "REGISTRY_AUTH=htpasswd" \
-e "REGISTRY_AUTH_HTPASSWD_REALM=Registry Realm" \
-e REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd \
-v `pwd`/certs:/certs \
-v "$(pwd)"/certs:/certs \
-e REGISTRY_HTTP_TLS_CERTIFICATE=/certs/domain.crt \
-e REGISTRY_HTTP_TLS_KEY=/certs/domain.key \
registry:2