O'Reilly logo

Mastering Docker - Third Edition by Scott Gallagher, Russ McKendrick

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required