Skip to content

Instantly share code, notes, and snippets.

@talolard
Forked from benfogel/install-docker-compose.sh
Last active September 19, 2019 13:15
Show Gist options
  • Save talolard/eab44c3dee5e658f23d17108ab225ac0 to your computer and use it in GitHub Desktop.
Save talolard/eab44c3dee5e658f23d17108ab225ac0 to your computer and use it in GitHub Desktop.
Installing docker-compose on Amazon Linux AMI
sudo yum update -y
sudo yum install -y docker
sudo usermod -a -G docker ec2-user
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
sudo chmod +x /usr/local/bin/docker-compose
sudo service docker start
sudo chkconfig docker on
sudo systemctl enable docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment