Certbot documentation states:
Most users should use the operating system packages (see instructions at certbot.eff.org) or, as a fallback,
certbot-auto. You should only use Docker if you are sure you know what you are doing and have a good reason to do so.
What are good reasons to use Certbot in Docker?
Is it better to run Certbot inside my app container? Or is it better to run Cerbot in a separate container?