In case anyone is interested, I am kicking off an effort on defining a series of Docker images and topologies for use with Magento (https://github.com/alankent/magento-on-docker). This is intended for Magento 1 and Magento 2, and hopefully a useful resource for anyone looking at using Docker to deploy Magento. I anticipate this project proceeding as follows:
- Spend some time identifying what images are useful and specifying their behavior.
- Define some initial simple topologies.
- Build sufficient images for a first topology and get it up and running.
- Continue to iterate on additional images and topologies.
There are other people doing many wonderful efforts as well – happy to include any references to those projects as well. Or if anyone is interested in being involved in some way feel free to drop me a line.
I’ve started with that one https://github.com/Zookal/DocHarris and we’re currently running it on a staging server. Works as expected.
I’ve separated nearly all processes because I think maybe that is more secure instead of running all in one container. The downside shows that handling is a little bit more complex.
Just to mention: A pain point before Docker 1.3:
Handling got now easier with Docker 1.3 as the linked containers will get updated in the host file other linked containers automatically. Before that you must always restart all other dependent containers. Now it is even possible to switch e.g. PHP/HHVM versions on the fly by simply exchanging the container. But that would be my next step for testing.