Created
September 21, 2020 09:19
-
-
Save fuxingloh/1af7e58ab8033fd22cb844e0a536af9d to your computer and use it in GitHub Desktop.
Setup Docker & Docker-Compose on AWS Lightsail Amaozn Linux 2
This file contains 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 install docker | |
sudo service docker start | |
sudo usermod -a -G docker ec2-user | |
sudo chkconfig docker on | |
sudo curl -L https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment