如何不在docker-compose.yml
配置文件目录运行docker-compose up -d
顺利启动容器?
如果不在配置文件目录运行docker-compose up的话,会报错:
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