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
why buildx still used https even configured with insecure and http
can we make buildx skip verify private registry cert like docker ( /etc/docker/daemon.json insecure-registries) , then we have no need to provide CA cert for buildx instance.
The text was updated successfully, but these errors were encountered:
I found that this problem is caused by harbor, when enabled both http & https , harbor will 302 redirect http to https, this behavior is commented in harbor.yml
hostname: harbor.demohub.com
# http related config
http:
# port for http, default is 80. If https enabled, this port will redirect to https port
port: 80
so we have 2 solutions
enable http of harbor only, and configure http = true only in buildkitd.toml
enable https of harbor only, and configure insecure = true only in buildkitd.toml, no need to provide ca.crt
I deployed a harbor registry and enabled http/https protocol at same time
here is my buildkitd.toml
although I configured my private registry as insecure, buildx still failed because of x509
then I fixed the problem by this buildkitd.toml
my questions:
The text was updated successfully, but these errors were encountered: