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:
- Launching MySQL and Adminer containers.
- Mounting Docker volumes to store persistent data.
- Connecting to a container’s shell to issue commands.
- Stopping running containers.
- Defining a Docker network for easier name resolution.
- Cleaning Docker files.
- 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 1400+ tech skills courses.