Skip to content

Instantly share code, notes, and snippets.

@pilgrim2go
Forked from npearce/install-docker.md
Created November 13, 2020 02:59
Show Gist options
  • Select an option

  • Save pilgrim2go/591d6a0d4e0b1dc7f2793d450f22d6cd to your computer and use it in GitHub Desktop.

Select an option

Save pilgrim2go/591d6a0d4e0b1dc7f2793d450f22d6cd to your computer and use it in GitHub Desktop.
Amazon Linux 2 - install docker & docker-compose using 'sudo amazon-linux-extras' command
# Amazon changes a bunch of stuff in Linux 2. No longer using 'yum'
# See: https://aws.amazon.com/amazon-linux-2/release-notes/
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