Technical requirements
In this chapter, if you want to follow along with the code, you need Docker Desktop installed on your local machine as well as the Visual Studio Code editor.
Before we start, let’s create a folder for the samples that we will be using during this part of the book. Open a new terminal window and navigate to the folder you clone the sample code to. Usually, this is ~/The-Ultimate-Docker-Container-Book
:
$ cd ~/The-Ultimate-Docker-Container-Book
Create a new subfolder for Chapter 8 called ch08
and navigate to it:
$ mkdir ch08 && cd ch08
Now that you are ready, let’s start with the tips and tricks on how to keep our Docker environment clean.
You can find the sample code here: https://github.com/PacktPublishing/The-Ultimate-Docker-Container-Book/tree/main/sample-solutions/ch08.