Last active
August 15, 2018 14:38
-
-
Save misterorion/c9e18a94143ad4735fa2aa8e2cbc560e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
yum install -y docker | |
usermod -aG docker ec2-user | |
systemctl enable docker | |
curl -L https://github.com/docker/compose/releases/download/$1/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose | |
chmod +x /usr/local/bin/docker-compose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment