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

Related issues

CrimsonGlory picture CrimsonGlory  路  3Comments

maltefiala picture maltefiala  路  3Comments

saulshanabrook picture saulshanabrook  路  3Comments

DhairyashilBhosale picture DhairyashilBhosale  路  3Comments

29e7e280-0d1c-4bba-98fe-f7cd3ca7500a picture 29e7e280-0d1c-4bba-98fe-f7cd3ca7500a  路  3Comments