Created
July 8, 2020 22:28
-
-
Save albertoammar/cccb323fd5111a703b0cd1902bc211f7 to your computer and use it in GitHub Desktop.
Install docker, docker-compose and awscli latest in aws 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
sudo yum update -y | |
sudo amazon-linux-extras install docker | |
sudo yum install docker | |
sudo service docker start | |
sudo usermod -a -G docker ec2-user | |
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 | |
sudo yum install python37 | |
sudo yum remove awscli | |
pip3 install awscli --upgrade --user |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment