변군이글루

[Docker] docker-compose install 본문

* 리눅스

[Docker] docker-compose install

변군 변군이글루 2021. 6. 10. 13:41
728x90
반응형

도커 컴포즈 설치(docker-compose install)

최신버전 한 번에 설치

$ curl -fsSL https://github.com/docker/compose/releases/download/$(curl -s https://github.com/docker/compose/releases/latest \
| sed 's#.*tag/\(.*\)\".*#\1#')/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose \
&& chmod +x /usr/local/bin/docker-compose \
&& ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

1.29.2 버전 설치

https://github.com/docker/compose/releases 최신 버전 확인

$ curl -fsSL https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose

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

$ ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

$ 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
반응형
0 Comments
댓글쓰기 폼