technology:sketch:docker-compose安装

下载,任选其一

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

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

启动权限

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

测试

$ docker-compose --version
  • technology/sketch/docker-compose安装.txt
  • 最后更改: 2020/05/08 01:12
  • (外部编辑)