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

上一篇:改变函数内this指向的方法


下一篇:2021-7-6 VUE的简易表单提交