2

i want to build a docker image. I do this:

$ docker build -f Dockerfile -t $IMAGE_TAG

I have this error:

"docker build" requires exactly 1 argument. See 'docker build --help'. Usage: docker build [OPTIONS] PATH | URL | - Build an image from a Dockerfile ERROR: Job failed: exit code 1

1

1 Answer 1

3
$ docker build -f Dockerfile -t $IMAGE_TAG .

The current directory dot . is missing at the end in your command line

Not the answer you're looking for? Browse other questions tagged or ask your own question.