mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
htpasswd passwords should use bcrypt hashing (#3401)
This commit is contained in:
committed by
Misty Stanley-Jones
parent
8cc7d23ba4
commit
8f27eeac35
@@ -154,7 +154,7 @@ EOF
|
||||
Now create a password file for "testuser" and "testpassword"
|
||||
|
||||
```
|
||||
docker run --rm --entrypoint htpasswd registry:2 -bn testuser testpassword > auth/nginx.htpasswd
|
||||
docker run --rm --entrypoint htpasswd registry:2 -Bbn testuser testpassword > auth/nginx.htpasswd
|
||||
```
|
||||
|
||||
Copy over your certificate files
|
||||
|
||||
Reference in New Issue
Block a user