Deploying WordPress on Docker

The goal here is to use the base image provided by passenger to create a full blown hosting environment for WP.

Docker seems to be catching on… So it makes sense to make that much easier, and so we’re working on making deploying WordPress on Docker easier. Stay tuned, but in the meanwhile check this out.

There are currently a number of different solutions for deploying Docker with WordPress.

The easiest method by far is to simply use a single container with Nginx, PHP-FPM, and MySQL.

A slightly more complicated method is to put a proxy in front of the Nginx + PHP-FPM container and put MySQL in a separate container.

A more complicated method than this is to actually share the files between the Nginx container and PHP-FPM container, so you are only running multiple copies of PHP-FPM.

Docker WordPress

Published on: 7 August 2015
Posted by: Sami K.