Technical requirements
The code accompanying this chapter can be found at https://github.com/PacktPublishing/The-Ultimate-Docker-Container-Book/tree/main/sample-solutions/ch11.
Before we start, let’s make sure we have a folder ready for the code you are going to implement in this chapter:
- Navigate to the folder in which you cloned the previously listed code repository accompanying this book. Normally, this is the
The-Ultimate-Docker-Container-Book
folder in your home folder:$ cd ~/The-Ultimate-Docker-Container-Book
- Create a subfolder called
ch11
and navigate to it:$ mkdir ch11 && cd ch11
In the past, you needed to have a separate docker-compose tool installed on your system. This is not the case anymore as the Docker CLI has recently been extended such that it contains all the functionality and more than the docker-compose tool previously offered.
If you are curious, you can find detailed installation instructions for the old docker-compose
tool...