mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-24 07:23:38 +00:00
registry image not include htpasswd
Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>
This commit is contained in:
parent
eac2a57633
commit
e021b27323
@ -131,7 +131,7 @@ $ mkdir auth
|
||||
|
||||
$ docker run --rm \
|
||||
--entrypoint htpasswd \
|
||||
registry \
|
||||
httpd:alpine \
|
||||
-Bbn username password > auth/nginx.htpasswd
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user