环境: Unbuntu 16.04 TLS Server
先决条件
Docker: Ubuntu 1604 TLS Server 安装 Docker CE
安装 Compose
下载
1 | sudo curl -L "https://github.com/docker/compose/releases/download/1.25.3/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose |
部署
1 | sudo chmod +x /usr/local/bin/docker-compose |
验证
1 | docker-compose --version |