Skip to content

Instantly share code, notes, and snippets.

@amcginlay
Created August 20, 2019 21:45
Show Gist options
  • Save amcginlay/9b527201a6cb5f216e8671ddbd85b7b2 to your computer and use it in GitHub Desktop.
Save amcginlay/9b527201a6cb5f216e8671ddbd85b7b2 to your computer and use it in GitHub Desktop.
Install docker on an Amazon LInux EC2 instance
# as per https://docs.aws.amazon.com/AmazonECS/latest/developerguide/docker-basics.html
sudo yum update -y
sudo amazon-linux-extras install docker
sudo service docker start
sudo usermod -a -G docker ec2-user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment