Alpine-based Let'sEncrypt Certbot container.
1.2K
See example compose file at https://github.com/sebble/docker-images/blob/master/letsencrypt-certbot/docker-compose.yml.
docker-compose up -d; docker-compose logs
docker exec -it example_certbot_1 \
certbot \
certonly \
--standalone \
--text \
--email [email protected] \
--agree-tos \
--standalone-supported-challenges http-01 \
--domains example.com
Explanation:
docker exec -it example_certbot_1 # enter composed container
certbot # run `certbot`
certonly # we write our own configs
--standalone # auth method
--text # disable ncurses interface
--email [email protected] # this is usually req'd
--agree-tos # this is always req'd
--standalone-supported-challenges http-01 # disable :443 check
--domains example.com # the domain we are reg'ing
Content type
Image
Digest
Size
18.4 MB
Last updated
over 9 years ago
docker pull sebble/letsencrypt-certbot-alpine