Install Docker Compose on CentOS/Fefora
[ec2-user@ip-172-31-5-206 my]$ sudo curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 638 100 638 0 0 3112 0 --:--:-- --:--:-- --:--:-- 3112
100 11.1M 100 11.1M 0 0 9560k 0 0:00:01 0:00:01 --:--:-- 13.2M
[ec2-user@ip-172-31-5-206 my]$ sudo chmod +x /usr/local/bin/docker-compose
[ec2-user@ip-172-31-5-206 my]$ docker-compose --version
docker-compose version 1.23.1, build b02f1306
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 638 100 638 0 0 3112 0 --:--:-- --:--:-- --:--:-- 3112
100 11.1M 100 11.1M 0 0 9560k 0 0:00:01 0:00:01 --:--:-- 13.2M
[ec2-user@ip-172-31-5-206 my]$ sudo chmod +x /usr/local/bin/docker-compose
[ec2-user@ip-172-31-5-206 my]$ docker-compose --version
docker-compose version 1.23.1, build b02f1306
Comments
Post a Comment