docker-compose 版本升级

删除旧的docker-compose
sudo rm /usr/local/bin/docker-compose

安装新版本 docker-compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.25.5/docker-compose-(uname -m)" -o /usr/local/bin/docker-compose

设定权限
sudo chmod +x /usr/local/bin/docker-compose

你可能感兴趣的:(docker-compose 版本升级)