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

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -