How to install docker-compose in Linux1 min read

Prabhin Prabharkaran Administrator
DevOps Engineer

He is a Technical professional. He is a person who loves to share tricks and tips on the Internet. He Posts what he does!

follow me

Docker-compose is an official tool by docker to manage and deploy multi-container applications. Docker-compose uses a YAML file where application services are defined.

If you have any confusion between docker-compose and docker stack check out this link.


Step 1: Download the docker-compose for your operating system.

sudo curl -L "$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

Step 2: Change the ownership of the downloaded file.

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

This enabled executable permission

Step 3: Check the docker-compose version

docker-compose --version

if the docker-compose command fails, create a symbolic link to the bin folder.

sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

© 2020, Techrunnr. All rights reserved.

Questions Answered
Articles Written
Overall Points

Related posts

Leave a Reply