赞
踩
docker compose 运行报错 [1458] Cannot open self /usr/local/bin/docker-compose or archive /usr/local/bin/docker-compose.pkg
按照官方的 curl 安装方法安装之后,查看版本报错
curl 安装方法:
sudo curl -L “https://github.com/docker/compose/releases/download/1.25.0/docker-compose- ( u n a m e − s ) − (uname -s)- (uname−s)−(uname -m)” -o /usr/local/bin/docker-compose
运行
docker-compose --version
报错:
Cannot open self /usr/local/bin/docker-compose or archive /usr/local/bin/docker-compose.pkg
查找原因发现可能是由于网络原因下载的不完整?
换一种下载方式
wget https://github.com/docker/compose/releases/download/1.25.0/docker-compose- ( u n a m e − s ) − (uname -s)- (uname−s)−(uname -m) -O /usr/local/bin/docker-compose
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。