Fire and forget Let's Encrypt certification generator containers.
Set environment options:
EMAILDOMAINCreate or map volume for ssl certificate:
/etc/letsencryptRun mchus/certgot:initial
Certbot will automatically register your domain name and then container stops. Check container logs for information.
Run mchus/certbot:renewal
Container will renew you certificate every day and then exits. You need to automatically restart container to maintain certificate availability for your domain.
docker run --name certbot_initial \ -v /etc/letsencrypt:/etc/letsencrypt \ -v /var/www/certbot:/var/www/certbot \ -e [email protected] \ -e DOMAIN=apple.com \ --rm mchus/certbot:initial
Content type
Image
Digest
Size
41.2 MB
Last updated
about 7 years ago
docker pull mchus/certbot