离线安装docker-compose

1.去github上找docker-compose最新的版本
https://github.com/docker/compose/releases

2.选择docker-compose-Linux-x86_64下载

 

cd /usr//bin
ls
sudo mv docker-compose-linux-x86_64 docker-compose
sudo chmod +x /usr/bin/docker-compose
docker-compose -v

 

posted @ 2024-01-30 17:54  你的小可爱吖  阅读(168)  评论(0编辑  收藏  举报