Skip to content

Docker Compose Install 在 CentOS 环境

bash
官方安装:

curl -L https://github.com/docker/compose/releases/download/1.24.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose

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


由于国内执行上面这个curl命令奇慢无比,所以从其他地方下载安装包:

curl -L https://get.daocloud.io/docker/compose/releases/download/1.24.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose

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

官方安装文档: https://docs.docker.com/compose/install/

Github: https://github.com/docker/compose