I'm getting the following error while creating docker image via gradle build steps mentioned here.
:dockerimages/devtest-jre:dockerImage FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':dockerimages/devtest-jre:dockerImage'.
> Docker execution failed
Command line [docker tag -f devtest/devtest-jre:9.5.1.6 devtest/devtest-jre:latest] returned:
unknown shorthand flag: 'f' in -f
See 'docker tag --help'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
monika_mehta Please help.