Create new user in docker registry

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.

References

Deploy a registry server

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>


The reCAPTCHA verification period has expired. Please reload the page.