Docker for development

We are going to start our look at the workflows by discussing how Docker can be used to aid developers. Right back at the start of Chapter 1, Docker Overview, one of the first things we discussed in the Understanding Docker section was developers and the Works on my machine problem. So far, we have not really fully addressed this, so let's do that now.

For this section, we are going to look at how a developer could develop their WordPress project on their local machine using Docker for macOS or Docker for Windows along with Docker Compose.

The aim of this is for us to launch a WordPress installation, which is what you will do with the following steps:

  1. Download and install WordPress.
  2. Allow access to the WordPress files ...

Get Mastering Docker - Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.