Instead of using maven-exec-plugin for calling docker build .... one can nowadays rely on jib-maven-plugin which builds the docker container just with Java means (and therefore does not require docker to be installed and the docker daemon to be running).
Instead of using
maven-exec-plugin
for callingdocker build ....
one can nowadays rely onjib-maven-plugin
which builds the docker container just with Java means (and therefore does not requiredocker
to be installed and the docker daemon to be running).