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

http: server gave HTTP response to HTTPS client #163

Closed
zhipengzuo opened this issue Oct 12, 2019 · 4 comments
Closed

http: server gave HTTP response to HTTPS client #163

zhipengzuo opened this issue Oct 12, 2019 · 4 comments
Assignees

Comments

@zhipengzuo
Copy link

zhipengzuo commented Oct 12, 2019

when:
I ran :docker buildx build -t registry.com:8000/xxx/buildx-test . --push
i have docker login successfully and add registry to "insecure registries"
errors:
http: server gave HTTP response to HTTPS client

more to try :
i tried something from #94:
docker buildx create --driver-opt network=host
docker buildx use quirky_hofstadter
docker buildx build -t registry.com:8000/xxx/buildx-test . --push

same errors occurs. : http: server gave HTTP response to HTTPS client

env:
macos
docker buildx version :github.com/docker/buildx v0.3.0-5-g5b97415-tp-docker 5b97415
docker version :Version: 19.03.2

more to say:
i can use docker push to this registry successfully
i can use "docker buildx build -t registry.com:8000/xxx/buildx-test . " successfully

@FernandoMiguel
Copy link
Contributor

Can you please try with the latest buildx?
https://github.com/docker/buildx/releases

@FernandoMiguel
Copy link
Contributor

Cc @tiborvass

@tiborvass tiborvass self-assigned this Oct 17, 2019
@tonistiigi
Copy link
Member

@zhipengzuo use docker buildx create --config=<filename> to point to a buildkit configuration file https://github.com/moby/buildkit/blob/master/docs/buildkitd.toml.md where you can set your registry as http = true to skip tls.

@zhipengzuo
Copy link
Author

@zhipengzuo use docker buildx create --config=<filename> to point to a buildkit configuration file https://github.com/moby/buildkit/blob/master/docs/buildkitd.toml.md where you can set your registry as http = true to skip tls.

it works.Thanks you very much.

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

No branches or pull requests

4 participants