Docker private registry using selfsigned certificates
问题 I want to run a private docker registry which is widely available. So I will be able to push and pull images from other servers. I'm following this tutorials: doc1 & doc2 I performed 3 steps: First I've created my certificate and key (as CNAME I filled in my ec2-hostname) mkdir -p certs && openssl req \ -newkey rsa:4096 -nodes -sha256 -keyout certs/domain.key \ -x509 -days 365 -out certs/domain.crt Than I've created my docker registry, using this key. docker run -d -p 5000:5000 --restart