当前位置:   article > 正文

Can‘t find a suitable configuration file+failed to start docker.service但docker-composeversion存在的解决方案_cant find a suitable

cant find a suitable

①输入

docker-compose up -d

发现报错:

Can't find a suitable configuration file in this directory or any parent.

②输入

sudo systemctl start docker

发现报错:

Failed to start docker.service: Unit not found

于是输入:

sudo yum install docker-ce docker-ce-cli containerd.io docker-compose-plugin

再次输入:

systemctl start docker

报错消失。

当然,如果你一直尝试,并且输入后发现

docker-compose --version

存在

请!!!!!

确保你的git clone正确!!!

gitclone正确时,是会出现下载文件的页面的!!

我就是因为git clone不正确,屏幕上出现了很多字以为git clone完成了,结果发现其实并没有。。。

请确保你的git clone正确!!!!!!

----------------------------

加油!!

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号