Last active
July 24, 2017 04:33
-
-
Save ShaneQi/78bb498e24a1749cab4238a2cebc6f2f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -it --name certbot_certonly -p 80:80 -p 443:443 -v /etc/letsencrypt:/etc/letsencrypt certbot/certbot certonly | |
docker start -ia certbot_certonly | |
docker run --name cerbot_renew -p 80:80 -p 443:443 -v /etc/letsencrypt:/etc/letsencrypt certbot/certbot renew | |
docker start -ia cerbot_renew |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment