Docker笔记7-Docker-compose

1、安装docker-compose

a1、官方地址:

sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

a2、国内地址
curl -L https://get.daocloud.io/docker/compose/releases/download/1.25.5/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose

b、授权

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

posted @ 2021-07-11 21:55  西风51668  阅读(22)  评论(0编辑  收藏  举报