在没有docker-compose.yml配置文件目录运行

By kcersing , 10 十一月, 2020

如果不在配置文件目录运行docker会报错:

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 up -f docker-compose.yml -d


标签