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


Try here. :slightly_smiling_face:


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