CentOS 9에 Docker Compose 설치
1. Docker Compose 설치
1
$ sudo curl -L https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
2. Docker Compose 실행 권한 부여
1
$ sudo chmod +x /usr/local/bin/docker-compose
3. 설치된 Docker Compose 확인
1
2
$ docker-compose --version
Docker Compose version v2.28.1
[출처 및 참고]
This post is licensed under CC BY 4.0 by the author.