How to Install Docker Compose on CentOS7 安裝Docker Compose
How to Install Docker Compose on CentOS7
本文筆記參考此篇教學:
How To Install and Use Docker Compose on CentOS 7 | DigitalOcean
Docker is a great tool, but to really take full advantage of its potential it's best if each component of your…www.digitalocean.com
Docker is a great tool, but to really take full advantage of its potential it's best if each component of your…www.digitalocean.com
Prerequisites
- Intall Docker Engine, see Install Docker on CentOS7
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 --version
Output
docker-compose version 1.23.2, build 1110ad01
留言
張貼留言