阿里云服务器安装Docker Compose

官网地址:https://docs.docker.com/compose/install/

1、 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


2、 sudo chmod +x /usr/local/bin/docker-compose


3、sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

4、 docker-compose --version

 

posted @ 2021-10-28 23:09  陈彦斌  阅读(531)  评论(0编辑  收藏  举报