Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builder config for ssh certs or for insecure remote registry pull #567

Closed
suityou01 opened this issue Mar 23, 2021 · 2 comments · Fixed by #787
Closed

Builder config for ssh certs or for insecure remote registry pull #567

suityou01 opened this issue Mar 23, 2021 · 2 comments · Fixed by #787

Comments

@suityou01
Copy link

My command

docker buildx build --platform linux/arm/64 -t 192.168.1.5:443/bpmcore_openid_provider_storage:2 . --load

Is failing with

error: failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to do request: Head https://192.168.1.5:443/v2/cbslabs/rejson/arm64/manifests/1: x509: certificate signed by unknown authority

How can I configure an insecure remote registry for the builder?

@tonistiigi
Copy link
Member

Configure registry exceptions in buildkit config file https://github.com/moby/buildkit/blob/master/docs/buildkitd.toml.md and set it with --config on buildx create

@cldfzn
Copy link

cldfzn commented Mar 26, 2021

Is there any useful and complete documentation on setting up buildkit with non-public certs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants