728x90
https://docs.docker.com/compose/install/
위 사이트에서 Docker-Compose Install을 따라서 하면 쉽다.
1. Install Compose on Linux systems
$ sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose |
2. Apply executable permissions to the binary:
$ sudo chmod +x /usr/local/bin/docker-compose |
3. docker-compsose 확인
root@master:~# ls -l /usr/local/bin/docker-compose -rwxr-xr-x 1 root root 12737304 11월 2 11:08 /usr/local/bin/docker-compose .. root@master:~# docker-compose version docker-compose version 1.29.2, build 5becea4c docker-py version: 5.0.0 CPython version: 3.7.10 OpenSSL version: OpenSSL 1.1.0l 10 Sep 2019 |
728x90
'컨테이너 > 도커' 카테고리의 다른 글
[Docker] Docker를 활용한 3-Tier 컨테이너 환경 구성(NginX/Tomcat/MySQL) (0) | 2021.11.07 |
---|---|
[도커 설치] Docker Installation on Ubuntu:20.04 (0) | 2021.10.24 |