Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Install

https://docs.docker.com/compose/install/

Run this command to download the current stable release of Docker Compose:

Table of Contents

...

Docker Compose 설치

docker-compose 설치

sudo curl -L "https://github.com/docker/compose/releases/download/1.29.01/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

Apply executable permissions to the binary:

docker-compose 권한 추가

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

docker-compose 설치 확인

If the command docker-compose fails after installation, check your path. You can also create a symbolic link to /usr/bin or any other directory in your path.

docker-compose -v

  • 설치 실패시 심볼릭 링크 추가

    • sudo ln -s /usr/local/bin/docker-compose /usr/bin/

...

Test Installation

...

    • docker-compose

...

https://docs.docker.com/compose/

...