mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-28 01:08:53 +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 \
|
$ docker run --rm \
|
||||||
--entrypoint htpasswd \
|
--entrypoint htpasswd \
|
||||||
registry \
|
httpd:alpine \
|
||||||
-Bbn username password > auth/nginx.htpasswd
|
-Bbn username password > auth/nginx.htpasswd
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user