Konubinix' opinionated web of thoughts

Earthly Buildkit Docker Server Gave HTTP Response to HTTPS Client

Fleeting

If I get the error

Error: build target: build main: failed to solve: failed to do request: Head "https://<address>:<port>/v2/<image>/blobs/sha256:<blob>": http: server gave HTTP response to HTTPS client

And if it is ok for me to use a http based registry.

Then I need to put in ~/.earthly/config.yml

global:
    buildkit_additional_config: |
      [registry."<address>:<port>"] http = true