Installing docker-compose

The docker-compose installation is pretty simple and well-documented. We are using Linux, so we will use the Linux instructions.

Open the terminal and use the following command:

sudo curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose

Wait for the download and then we can execute the following instructions to give executable permissions for the program. Let's do this by executing the following command:

sudo chmod +x /usr/local/bin/docker-compose

As you may know, you may be asked for the administrator password. Our docker-compose is now installed. Let's check it:

docker-compose --version

The prompt will display the installed version, ...

Get Spring 5.0 By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.