For this chapter, you need to install Docker, version 18.09 or above. See the official documentation (https://docs.docker.com/install/) for how to do so for your platform.
If you install Docker in Linux, you may have to configure the server to run for non-root access. Check the documentation at https://docs.docker.com/install/linux/linux-postinstall/.
Check the version with the following command:
$ docker version
Client: Docker Engine - Community
Version: 18.09.2
API version: 1.39
Go version: go1.10.8
Git commit: 6247962
Built: Sun Feb 10 04:12:39 2019
OS/Arch: darwin/amd64
Experimental: false
You need to install Docker Compose version 1.24.0 or above as well. Note that, in some installations, such as macOS, this is automatically installed for you. Check the installation instructions in the Docker documentation (https://docs.docker.com/compose/install/):
...