yaml - "docker-compose build" is showing me help text when I specify a file -


when specify compose file during build:

docker-compose build -f compose-production.yml

the images don't built, , in stead i'm shown help-text:

$ docker-compose build -f compose-production.yml  build or rebuild services.  services built once , tagged `project_service`, e.g. `composetest_db`. if change service's `dockerfile` or contents of build directory, can run `docker-compose build` rebuild it.  usage: build [options] [service...]  options:     --force-rm  remove intermediate containers.     --no-cache  not use cache when building image.     --pull      attempt pull newer version of image. 

anyone knows what's going on?

run with:

docker-compose -f compose-production.yml build 

-f option docker-compose not option command build


Comments

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

sql server - SQL Query returns one result, does not return 0 or NULL result -