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.
In 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 by going through the following steps:
- Download and install WordPress.
- Allow access to the WordPress files from desktop editors—such as Atom, Visual Studio Code, or Sublime Text—on your local machine.
- Configure and manage WordPress using the WordPress command-line tool (WPCLI). This allows you to...