Skip to content

Instantly share code, notes, and snippets.

Embed
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 https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
# latest version
# sudo curl -L https://github.com/docker/compose/releases/latest/download/docker-compose-$(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