How to install Docker Compose On Amazon Linux AMI
- TO install docker-compose, run
sudo curl -L https://github.com/docker/compose/releases/download/1.21.0/docker-compose-`uname -s`-`uname -m` | sudo tee /usr/local/bin/docker-compose > /dev/null
- For permission
sudo chmod +x /usr/local/bin/docker-compose
- Create a symbolic link
ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
- Check docker-compose version:
docker-compose --version