From 5fb6116c2d871972f96dc9675984313459e13833 Mon Sep 17 00:00:00 2001 From: Olivier Gambier Date: Wed, 12 Aug 2015 13:37:33 -0700 Subject: [PATCH] Fix basic auth documentation Signed-off-by: Olivier Gambier --- docs/deploying.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/deploying.md b/docs/deploying.md index bf0071483..a6a8e3869 100644 --- a/docs/deploying.md +++ b/docs/deploying.md @@ -107,6 +107,7 @@ Make sure you stopped your registry from the previous step, then start it again: docker run -d -p 5000:5000 --restart=always --name registry \ -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 \