Created
February 6, 2018 13:24
-
-
Save jamesattard/a32cde949a62423e01a918497c3d64ec to your computer and use it in GitHub Desktop.
Installing Docker on Amazon Linux
This file contains hidden or 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 | |
sudo yum update -y | |
sudo yum install -y docker | |
sudo service docker start | |
sudo usermod -a -G docker ec2-user | |
# log out and log in to pickup the added group | |
# Also install some common sense stuff | |
sudo yum install -y git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment