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
Post a Comment