欧拉OS在使用命令安装好docker-compose之后执行docker-compose -v 提示失败:

        Can't find a suitable configuration file in this directory or any
        parent. Are you in the right directory?

        Supported filenames: docker-compose.yml, docker-compose.yaml

解决方案:
 

  1. 移动bin文件到usr/bin目录;命令:mv docker-compose /usr/bin/

  2. 执行docker-compose -v通过;

Logo

鲲鹏昇腾开发者社区是面向全社会开放的“联接全球计算开发者,聚合华为+生态”的社区,内容涵盖鲲鹏、昇腾资源,帮助开发者快速获取所需的知识、经验、软件、工具、算力,支撑开发者易学、好用、成功,成为核心开发者。

更多推荐