Compose: Support other file names for docker-compose pull

Created on 27 Oct 2017  路  3Comments  路  Source: docker/compose

Currently docker-compose pull does not support specifying a docker-compose file. We often have multiple yml files for different purposes so none are "docker-compose.yml" or not necessarily the one that has all the images we want to pull. It would be nice to have an option such as:

docker-compose pull --file docker-compose-with-suffix.yml

Most helpful comment

Just move the --file option before the subcommand (pull)

All 3 comments

+1

Just move the --file option before the subcommand (pull)

docker-compose --file docker-compose-with-suffix.yml pull

Was this page helpful?
0 / 5 - 0 ratings