How to Install Docker Compose on CentOS7

hosomikai
1 min readSep 21, 2020

--

本文筆記參考此篇教學:

Prerequisites

Installation

STEP1. 安裝Docker-compose

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

STEP2. 設定執行權限

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

STEP3. 確認是否安裝成功

$ docker-compose --versionOutput
docker-compose version 1.23.2, build 1110ad01

--

--