Quick Recap

Let's discuss what we have covered so far.

We'll cover the following

Key points

What you’ve learned in this chapter:

  1. Launching MySQL and Adminer containers.
  2. Mounting Docker volumes to store persistent data.
  3. Connecting to a container’s shell to issue commands.
  4. Stopping running containers.
  5. Defining a Docker network for easier name resolution.
  6. Cleaning Docker files.
  7. Launching multiple containers with Docker Compose.

Running MySQL as a containerized service is a simple example of the possibilities offered by Docker. The first launch may have taken a few minutes, but how long would it have taken you to download, install, and configure MySQL on your host OS? Could you have retained that version, upgraded, or even run multiple editions on the same PC at the same time?

In the next chapter, you’ll use Docker to install and develop a WordPress-powered website. It introduces the concept of Docker bind mounts. They’re a way to update source files on your host PC and, are executed in a running container.

Get hands-on with 1200+ tech skills courses.