centos安装docker-compose

2022/4/11 7:12:54

本文主要是介绍centos安装docker-compose,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

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

 



这篇关于centos安装docker-compose的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程