Open immusk opened 1 year ago
Looks to be a network issue with your amd_node
node. Similar to https://github.com/docker/buildx/issues/1683.
Can you give the output of docker buildx inspect mybuild
and also try building for each platform:
$ docker buildx build --platform linux/amd64 .
$ docker buildx build --platform linux/arm64 .
Are you trying to build on the organization network? If your organization network has some kind of network monitoring, then perhaps you need the Root CA of the network monitoring. Then load the certificate to the buildx instance to let it acknowledge the organization network monitoring such as "I (buildx isntance) have permission (certificate) to access the private registry"
Contributing guidelines
I've found a bug and checked that ...
Description
docker buildx build command fails to connect to the private registries(we are using Nexus) with the existing credentials present in ~/.docker/config.json
where as normal docker build command works fine.
Expected behaviour
docker buildx build command should use the existing credentials present in ~/.docker/config.json and successfully pull the referenced image from the given registry.
Actual behaviour
Buildx version
github.com/docker/buildx v0.10.4 c513d34049e499c53468deac6c4267ee72948f02
Docker info
Builders list
Configuration
FROM/jdk11:11.0.7-20230322065433
Build logs
No response
Additional info
No response