How To Set Up a Private Docker Registry on Ubuntu 18.04 | DigitalOcean

In this tutorial, you will set up and secure your own private Docker Registry. You will use Docker Compose to define configurations to run your Docker applications and Nginx to forward server traffic from HTTPS to the running Docker container. Once you’ve completed this tutorial, you will be able to push a custom Docker image to your private registry and pull the image securely from a remote server.

Source: How To Set Up a Private Docker Registry on Ubuntu 18.04 | DigitalOcean