Skip to content

Instantly share code, notes, and snippets.

@jenciso
Last active May 12, 2021 19:58
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 jenciso/62bc692eb5b7819e30a9db69ad2f0087 to your computer and use it in GitHub Desktop.
Save jenciso/62bc692eb5b7819e30a9db69ad2f0087 to your computer and use it in GitHub Desktop.
sudo amazon-linux-extras install -y docker
sudo systemctl enable docker && sudo systemctl start docker
sudo usermod -a -G docker ec2-user
sudo curl -L "https://github.com/docker/compose/releases/download/1.28.6/docker-compose-$(uname -s)-$(uname -m)" -o /usr/bin/docker-compose
sudo chmod +x /usr/bin/docker-compose
@jenciso
Copy link
Author

jenciso commented Apr 16, 2021

curl -s https://gist.githubusercontent.com/jenciso/62bc692eb5b7819e30a9db69ad2f0087/raw/7ea748d9fe03784010137b636f9e9117b06e1ff2/install-docker-amazon-linux2 | bash -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment