命令执行错误
来源:2-4 【本地开发环境部署】文字补充

复java_n
2021-09-19
C:\Users\win10>docker-compose up -d redis mysql nginx workspace
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
我尝试了网上的将docker-compose.yml中的版本号由string类型改为int类型,但是不行没有找到 docker-compose.yaml
写回答
2回答
-
檀梵
2021-09-27
运行命令的当前目录下有这个文件吗?
00 -
檀梵
2021-09-19
应该是执行命令是目录不对,要在docker-compose文件的目录下执行
022021-09-27
相似问题