| Path | Description |
|---|---|
| /etc/letsencrypt | Let's Encrypt files (see NGINX) |
| Port | Process | TCP/UDP |
|---|---|---|
| 80 | Certbot | TCP |
| 443 | Certbot | TCP |
certbot
To pull the image
docker pull gokaygurcan/certbot
To create a new certificate
docker run -it --rm \
--user root \
--name certbot-example.com \
-p 80:80 -p 443:443 \
-v /etc/letsencrypt:/etc/letsencrypt \
-w /usr/bin \
gokaygurcan/certbot \
certbot certonly \
-vvvv \
--agree-tos \
--standalone \
--http-01-port 80 \
--tls-sni-01-port 443 \
-d example.com \
-m "[email protected]"
To renew an existing certificate(s)
docker run -it --rm \
--user root \
--name certbot-renew \
-p 80:80 -p 443:443 \
-v /etc/letsencrypt:/etc/letsencrypt \
-w /usr/bin \
gokaygurcan/certbot \
certbot renew \
--http-01-port 80 \
--tls-sni-01-port 443
Content type
Image
Digest
sha256:d432f9d1c…
Size
292.5 MB
Last updated
over 2 years ago
docker pull gokaygurcan/certbot