certbot / certbot-docker

95 stars 23 forks source link

Add a paragraph about Docker & Certbot to README #22

Closed PeterDraex closed 4 years ago

PeterDraex commented 4 years ago

This partly addresses issue certbot-docker#2

PeterDraex commented 4 years ago

Right now, this says:

You should only use Docker if you are sure you ... have a good reason to do so.

Could we actually list a few examples of good reasons to use Docker?

I'm presonally still not sure whether it's preferable to run Certbot in the same container as my application (Debian+Apache+PHP) or to have it in a separate container.

cc @bmw

bmw commented 4 years ago

Could we actually list a few examples of good reasons to use Docker?

We could, however, I'd personally prefer that's done at https://github.com/certbot/certbot/blob/master/certbot/docs/install.rst#running-with-docker to avoid duplicating our documentation.

I'm presonally still not sure whether it's preferable to run Certbot in the same container as my application (Debian+Apache+PHP) or to have it in a separate container.

If you're using our Docker images, you should probably have it in a separate container. Putting multiple programs in the same Docker container kind of goes against the philosophy of Docker and unless you're trying to use our Apache/Nginx plugin which isn't installed in any of our Docker images, I don't really see any benefits of this approach.