forked from TrueCloudLab/distribution
Merge pull request #865 from dmp42/4.docs-2.1
Fix basic auth documentation
This commit is contained in:
commit
fee9a9a469
1 changed files with 1 additions and 0 deletions
|
@ -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 \
|
docker run -d -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_REALM=Registry Realm" \
|
||||||
-e REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd \
|
-e REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd \
|
||||||
-v `pwd`/certs:/certs \
|
-v `pwd`/certs:/certs \
|
||||||
|
|
Loading…
Reference in a new issue