Skip to content

Instantly share code, notes, and snippets.

@misterorion
Last active August 15, 2018 14:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save misterorion/c9e18a94143ad4735fa2aa8e2cbc560e to your computer and use it in GitHub Desktop.
Save misterorion/c9e18a94143ad4735fa2aa8e2cbc560e to your computer and use it in GitHub Desktop.
#!/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