docker下载时报错 /usr/local/bin/docker-compose: 1: cannot open html: No such file

docker 下载时报错 /usr/local/bin/docker-compose: 1: cannot open html: No such file
/usr/local/bin/docker-compose: 2: Syntax error: redirection unexpected,

在网上查找了一些解决方法都不对,最后,通过删除/usr/local/bin/docker-compose 文件 重新安装docker 解决问题

删除命令:

rm /usr/local/bin/docker-compose

然后重新下载安装

apt install docker-compose

docker下载时报错 /usr/local/bin/docker-compose: 1: cannot open html: No such file_第1张图片

docker下载时报错 /usr/local/bin/docker-compose: 1: cannot open html: No such file_第2张图片

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