mirror of
https://github.com/yeasy/docker_practice.git
synced 2025-08-02 22:11:38 +00:00
registry image not include htpasswd
Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>
This commit is contained in:
@@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user