Deploy a docker registry with letsencrypt certificates on Ubuntu 18.04

Install a private docker registry on your cloud with letsencrypt certificates in a few easy steps. The shell script will install docker and letsencrypt, generate the certificate, then mount it to the docker registry. Additionally it will create a test user for basic authentication.