堡塔开发kk 发表于 2024-12-11 17:54:52

【教程帖】安装Docker-compose

如遇到docker容器编排获取不到列表,如果版本v1.x.x,需要升级compose版本

查看当前docker-compose版本docker-compose version




安装最新版
sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose


国内安装sudo curl -L "https://ghproxy.cc/https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

使用遇到问题欢迎帖子留言,或者加入Docker官方交流QQ群:662047798
页: [1]
查看完整版本: 【教程帖】安装Docker-compose