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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.