Tutorial by Examples

Generate a RSA private key: openssl genrsa -des3 -out server.key 4096 Openssl should ask for a pass phrase at this step. Notice that we’ll use only certificate for communication and authentication, without pass phrase. Just use 123456 for example. Generate the Certificate Signing Request: openssl ...
To run the private registry (securely) you have to generate a self-signed certificate, you can refer to previous example to generate it. For my example I put server.key and server.crt into /root/certs Before run docker command you should be placed (use cd) into the directory that contains certs fo...
When you get a working registry running you can pull or push images on it. For that you need the server.crt file into a special folder on your docker client. The certificate allows you to authenticate with the registry, and then encrypt communication. Copy server.crt from registry machine into /etc...

Page 1 of 1