This image has certbot and ngnix built-in, so getting a SSL certificate is simple.
docker run -it --rm \
-v {SSL}:/etc/letsencrypt \
-p 80:80 \
-p 443:443 \
fjctp/letsencrypt \
certonly \
--standalone \
--non-interactive \
--agree-tos \
-m {[email protected]} \
-d {YOUR_DOMAIN}
The SSL certificate will be located at {SSL}/live/{YOUR_DOMAIN}
Content type
Image
Digest
Size
18.8 MB
Last updated
almost 9 years ago
docker pull fjctp/letsencrypt