docker-compose

Table of Contents

如何安装

先决条件

安装

# Download latest docker compose
$ sudo curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose

# Add execution permission
$ sudo chmod +x /usr/local/bin/docker-compose

卸载

$ sudo rm /usr/local/bin/docker-compose
# or
$ pip uninstall docker-compose

安装的软件包

检查

$ docker-compose --version
docker-compose version 1.18.0, build 8dd22a9

参考

Date: 2018-02-20

Author: Dongsoo Lee

Created: 2018-12-10 Mon 03:15

Validate