Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Install Docker Amazon Linux
sudo yum update -y && sudo yum install -y docker git tmux
sudo service docker start
sudo usermod -a -G docker ec2-user
sudo systemctl enable docker
sudo curl -L$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
# latest version
# sudo curl -L$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment