Public Repository

Last pushed: 3 months ago
Short Description
A copy of the official certbot image that when run yields SSL certificates in the mounted directory.
Full Description

docker run -v /etc/letsencrypt:/etc/letsencrypt -v /var/lib/letsencrypt:/var/lib/letsencrypt -p 80:80 -it --rm certbot/certbot --standalone certonly --preferred-challenges http --agree-tos "--email=$email" -d "$domain"

Replace $email and $domain with your email and domain.

The SSL certificates should now be in the volume mounted to /etc/letsencrypt inside the container, under the live/$domain directory.

Docker Pull Command
Owner
craigrhodes

Comments (0)