NOTICE: Docker Trusted Registry has been moved to https://hub.docker.com/r/docker/dtr/ as of version 2.0.0
Docker Trusted Registry allows you to store and manage your Docker images on-premise or in your virtual private cloud to support security or regulatory compliance requirements. Find out more about DTR.
To install DTR, you can view the docs for full instructions but in short, run this command on a docker host:
sudo bash -c "$(sudo docker run docker/trusted-registry install)"
You can then configure DTR using the web admin console on https://<host-ip>/
After installing, make sure you follow the instructions to complete the installation and configure DTR.
How to access private Docker Registry (include Docker Trusted Registry)
Suppose your registry server is
1) Get CA Certificate from running docker registry service.
openssl s_client -showcerts -connect test.example.com:443
2) manually copy the public key to a
3) Validate the CA certificate
cd /etc/docker/certs.d/test.example.com:443 curl -u user:password --cacert ca.crt https://test.example.com:443
login registry server successfully
docker login -u user -p password -e mailbox test.example.com:443