Setting

[Setting | AmazonLinux] Docker Compose Install

t-opendocs 2025. 3. 24. 14:23
반응형

아마존 리눅스에 도커 컴포즈 설치 방법을 정리한다.


> 작성일 : 2025-03-24
> OS : Amazon Linux release 2 (Karoo)

Docker 설치 후 진행 - Link


 

<1> 설치

sudo curl -L "https://github.com/docker/compose/releases/download/$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")')/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

 


 

<2> 권한설정

sudo chmod +x /usr/local/bin/docker-compose

 


 

<3> Docker Compose 설치 확인

docker-compose --version

 

반응형