******************************************
How to Install docker compose on EC2
******************************************
1. Copy the appropriate docker-compose binary from GitHub:
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”
2.To get the 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
3. Fix permissions after download:
“sudo chmod +x /usr/local/bin/docker-compose”
4. Verify if the docker compose successfully installed
“docker-compose version”
No comments:
Post a Comment