How to install docker-compose ec2

In this article let’s discuss about How to install docker-compose ec2. Let’s go through the following methods without any delay.

Method 1:

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

If you are facing any issues with the above approach then try the alternative that is given below. It may look similar by have a try!

Method 2 :

sudo curl -L "https://github.com/docker/compose/releases/download/1.28.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

Hope the above solution works.

Realted Posts : Docker-compose permission denied