Open wolverin26 opened 5 months ago
Multi-platform builds use buildx
, and are separate builders created by buildx create
,
which you can find in \target\docker\..\..\docker\buildx\instances
,
and buildx
has its own way to set up an insecure registry.
configuring plugin
<buildx>
<platforms>
<platform>linux/amd64</platform>
</platforms>
<builderName>maven.${project.artifactId}</builderName>
<configFile>${project.basedir}/buildkitd.toml</configFile>
</buildx>
new buildkitd.toml
[registry."hostname:5000"]
mirrors = ["hostname:5000"]
http = true
insecure = true
Hello,
I'm trying to build docker images and push them to a Nexus Repository using maven, but unfortunately I'm getting this error "http: server gave HTTP response to HTTPS client". Even if I have added the insure registry in /etc/docker/daemon.json
But still always having the same issue.
Btw, in another project not using maven it's working fine !! but when i use a push to the same repo using maven it's not working. It's gives me the error above.