How to install certbot inside docker NGINX image?

Could someone point me to a correct way / guide to install certbot inside an official NGINX docker image ?
I tried the debian guide but nothing is working; always missing dependecies or systemd....

At the moment I have to install both NGINX and certbot on my host instead of the container itself and while this is working it is bringing conflicts that are not nice to mange in order to renew certs....

Thank you

2 Likes

Try here. :slightly_smiling_face:

3 Likes

This post was merged into an existing topic: Certbot renew not working: Debian host + docker + nginx