Skip to content

Instantly share code, notes, and snippets.

@yaodong
Created May 7, 2018 20:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yaodong/293460ed6036ed18ea4ac20b8211347a to your computer and use it in GitHub Desktop.
Save yaodong/293460ed6036ed18ea4ac20b8211347a to your computer and use it in GitHub Desktop.
docker run -it --rm --name certbot \
-v "/etc/letsencrypt:/etc/letsencrypt" \
-v "/var/lib/letsencrypt:/var/lib/letsencrypt" \
-p 80:80 \
certbot/certbot certonly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment