Compose: support file name with 'docker-compose ps'

Created on 30 Jun 2017  路  4Comments  路  Source: docker/compose

I've been searching to see if this was already opened and didn't find anything.

you cannot type:
docker-compose -f docker-compose.someName.yml ps

So you can't use docker-compose ps with those containers even though you've used docker-compose to run them.

What am I missing here?

Most helpful comment

What's preventing you from typing it?

All 4 comments

What's preventing you from typing it?

nothing. The command is not supported.

Works for me. Perhaps you'd like to share the output you're seeing, as well as the version of docker-compose you're using.

I've been using version 1.11.1.
Following your response I've tried with 1.14.0.
It worked.
Thank you for your assistance.

Was this page helpful?
0 / 5 - 0 ratings