This page contains information about hosting your own registry using the open source Docker Registryopen_in_new. For information about Docker Hub, which offers a hosted registry with additional features such as teams, organizations, web hooks, automated builds, etc, see Docker Hub.
This section provides end-to-end scenarios for exotic or otherwise advanced use-cases. These examples are not useful for most standard set-ups.
Before following these steps, work through the deployment guide.
You must meet the following requirements:
- Make sure you understand Docker security requirements, and how to configure your Docker Engine properly
- You have installed Docker Compose
- You have a certificate from a known CA instead of self-signed certificates. This is highly recommended.
- Inside the current directory, you have a X509
domain.key, for the CN
- You have stopped and removed any previously running registry (typically
docker container stop registry && docker container rm -v registry)