Let's Encrypt on Docker
Trigger let's encrypt certification generation using one command with Docker
The Command
docker run -it --rm --name certbot -v "/etc/letsencrypt:/etc/letsencrypt" -v "/var/lib/letsencrypt:/var/lib/letsencrypt" certbot/certbot certonly -d domain.example.com --manual --preferred-challenges dns