Tuesday, April 28, 2015

How to Manually Build Docker Containers for WordPress

In the first article, we covered what Docker is and how to get up and running with a few commands. However, we haven't done anything useful just yet. There are numerous ways to get a WordPress environment using Docker, in this article, I'll show you how to manually setup Docker containers to work with WordPress. If you'd like a quick intro into Docker, you can jump back to the first article here.

Setting up MySQL

Every WordPress installation needs a MySQL database. To do this, we head over to Docker Hub and find a MySQL image.

The Docker team already has a MySQL image ready for us to use. Before running any commands on the terminal, make sure to read the documentation for this image. The latest version at the time of writing is 5.7. However, the latest tag name is 5.6. The latest version of an image can be for any previous version, but one in its stable state.

Continue reading %How to Manually Build Docker Containers for WordPress%


by Aleksander Koko via SitePoint

No comments:

Post a Comment