## Docker compose파일 다운로드
[root@workspace-vm ~]# sudo curl -L "https://github.com/docker/compose/releases/download/1.24.0/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 617 0 617 0 0 726 0 --:--:-- --:--:-- --:--:-- 725
100 15.4M 100 15.4M 0 0 1833k 0 0:00:08 0:00:08 --:--:-- 2388k
[root@workspace-vm ~]#
[root@workspace-vm ~]#
[root@workspace-vm ~]#
## Docker compose 실행권한 추가
[root@workspace-vm ~]# sudo chmod +x /usr/local/bin/docker-compose
[root@workspace-vm ~]#
[root@workspace-vm ~]#
## 링크 추가
[root@workspace-vm ~]# sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
[root@workspace-vm ~]#
## 설치 버전 확인
[root@workspace-vm ~]# docker-compose --version
docker-compose version 1.24.0, build 0aa59064
[root@workspace-vm ~]# |