You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running docker:build goal I am getting error below for our private registry.
We are using baseImage from our private registry in DockerFile
FROM gitlab....:5050/v2/i2i/ocs/fizz/fizz-source/base-image-17-jre/:latest
if I remove --builder maven or both --config ... --builder maven of from command and run it manually from terminal. it is working.
What should I do for this error in configuration or is it a bug ?
Seems at these link guys had the same problem #1583 #1673
I am using buildOptions with version=2 to overcome the issue to use buildkit without buildx configuration.
I have resolved the problem by the reference of this issue: docker/buildx#2239
I added following config to buildx configuration, this option applies at docker builder create step. I am surprised at default we cannot use host network and fabric8 creating it own builder always.
When running docker:build goal I am getting error below for our private registry.
We are using baseImage from our private registry in DockerFile
FROM gitlab....:5050/v2/i2i/ocs/fizz/fizz-source/base-image-17-jre/:latest
it works when not using buildx.
goal executing this command:
docker --config /myData/dev/projects/fizz-source/AOM/aom-parent/aomif/target/docker/aomif-maven/docker buildx build --progress=plain --platform linux/amd64 --tag aomif-maven:latest --tag aomif-maven:latest --tag aomif-maven:20.0-SNAPSHOT --file=/myData/dev/projects/fizz-source/AOM/aom-parent/aomif/target/docker/aomif-maven/tmp/docker-build/Dockerfile /myData/dev/projects/fizz-source/AOM/aom-parent/aomif/target/docker/aomif-maven/tmp/docker-build --load
if I remove
--builder maven
or both--config ... --builder maven
of from command and run it manually from terminal. it is working.What should I do for this error in configuration or is it a bug ?
Seems at these link guys had the same problem
#1583
#1673
I am using buildOptions with version=2 to overcome the issue to use buildkit without buildx configuration.
<image> <name>${project.artifactId}-maven</name> <alias>${project.artifactId}</alias> <build> <buildOptions> <version>2</version><!-- enable buildkit--> </buildOptions>
The text was updated successfully, but these errors were encountered: