docker images [example] for Plone 5.1
sven <[email protected]> Wed, 23 Dec 2015 09:30:02 +0100
| Newsgroups | gmane.comp.web.zope.plone.installers |
|---|---|
| Message-ID | <[email protected]> |
Hi, just a little update :) I am targeting more or less 5.1 for the first docker image. I think I found a solution which is OK, still not perfect but maybe OK at least to start with. Outline ==== Container: What I mean by this is the following: *Disclaimer*: This container is clearly meant only for testing, you should *never ever* use it in production, for that you should use your own image with only minimal requirements installed to get your application running. This image is not customized for production in terms of size and comes with a lot of packages which are possible security risks for your production environment, think compilers and certain libs. - We will provide a docker container, based on Debian, Plone setup is done via the UI-Installer in the container - We provide an example for standalone - We provide an example for zeo Later we will provide an example where we use a own container for each instance and a own for zeo. Data: - we will provide an example with no persistent data - we will provide an example with a data[volume] container - we will provide an example with a mount from the host Starting/Boot: - since it is for testing, we will provide an example with docker-compose - give an example with systemd - give an example with etcd FAQ: Why Debian based ? Because Debian is known by lots of people, it is not perfect in terms of size and other things, but it is well known so people will be easier able to find their way and it is still smaller than Ubuntu. Using other distros will make it way harder for user to understand what is going on. Again this is meant as example, *not* for production. Most of that is writing documentation :) I feel that this would be a way to go, since there are lot of ways how to use docker and lots of ppl have different setup/needs I would prefer to stick with examples, where we clearly state that they are examples and not meant for production ! I saw too many docker containers [also plone ones] which are just bad, insecure and way too big :) I guess this will be also 'step by step' work we do not have to deliver all at once. Cheers, Sven ------------------------------------------------------------------------------