Cnetos安装docker-compose
分别执行以下命令
curl -L "https://github.com/docker/compose/releases/download/$(curl https://github.com/docker/compose/releases | grep -m1 '<a href="/docker/compose/releases/download/' | grep -o 'v[0-9:].[0-9].[0-9]')/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose //授权 chmod +x /usr/local/bin/docker-compose //检查版本 docker-compose --version
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/244564.html