linux docker-compose安装失败解决

1.去github下载到本地

https://github.com/docker/compose/releases/

linux docker-compose安装失败解决_第1张图片

2.上传到linux 服务器

mv   dokcer-compose-linux-x86_64    /usr/loacal/bin/docker-compose

3.给权限

chmod +x /usr/local/bin/docker-compose

 4.查看是否安装成功

docker-compose -version

5.卸载

rm  /usr/local/bin/docker-compose

你可能感兴趣的:(linux,docker,运维)