我有一个非默认的 docker-compose 文件名(docker-compose-test. yml)。 它只定义了一个服务。
我正在使用“ docker-compose-f docker-compose-test. yml up”启动容器
我试图停止容器启动以上使用码头组合下来,但它不工作。
我已经低于错误了,
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-撰写下来?