##下载docker-compose
curl -L https://github.com/docker/compose/releases/download/1.23.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose ##可选升级包 curl -L "https://github.com/docker/compose/releases/download/v2.11.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose ##修改文件权限 chmod +x /usr/local/bin/docker-composecurl -L https://raw.githubusercontent.com/docker/compose/1.29.1/contrib/completion/bash/docker-compose > /etc/bash_completion.d/docker-compose
##下载Base自动补全命令
标签:compose,##,uname,usr,docker,安装,curl From: https://www.cnblogs.com/welcomer/p/18085643