Create new user in docker registry
Steps
- Generate password
docker run --rm --entrypoint htpasswd httpd:2 -Bbn <user> <password>
-
Append password into
/auth/htpasswd
-
Restart docker container
Consideration
Try not to use some special characters in password, such as $
, @
, etc.