腾讯云centos7.464位 docker-compose build ERROR: 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

安装报错 · qianzib · 于 5年前 发布 · 19740 次阅读

共收到 2 条回复 问题提问
qianzib#15年前 0 个赞

[root@VM_122_242_centos ~]# docker-compose build ERROR:

    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![](https://i.loli.net/2018/05/07/5aef2bf543880.png)
Terry#25年前 0 个赞

操作出来问题,不分析报错信息吗?

执行此命令时必须cd到项目的目录下(yii2_fecshop_docker)

文档里面都写的很明白

添加回复 (需要登录)
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册
Your Site Analytics