安装docker-compose
- 下载安装文件
sudo curl -L https://get.daocloud.io/docker/compose/releases/download/1.25.1/docker-compose-uname -s-uname -m -o /opt/docker-compose/docker-compose
- 赋予执行权限
sudo chmod +x /opt/docker-compose/docker-compose3. 创建软连接
sudo ln -s /opt/docker-compose/docker-compose /usr/bin/docker-compose4. 测试
docker-compose --version
标签:opt,compose,sudo,uname,docker,安装 From: https://www.cnblogs.com/hai-/p/17285333.html