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

[QUESTION] Does Copa support the HTTP protocol? #829

Open
Fr1ezy opened this issue Nov 8, 2024 · 1 comment
Open

[QUESTION] Does Copa support the HTTP protocol? #829

Fr1ezy opened this issue Nov 8, 2024 · 1 comment
Labels
question Further information is requested

Comments

@Fr1ezy
Copy link

Fr1ezy commented Nov 8, 2024

What is your question?

Does Copa support the HTTP protocol?

Using Copa for image repair error:

 => resolve image config for docker-image://192.168.0.194:8080/library/utils-base:latest          0.0s
Error: failed to do request: Head "https://192.168.0.194:8080/v2/library/utils-base/manifests/latest": http: server gave HTTP response to HTTPS client

This is my internal network address, using the HTTP protocol

I have already set it up in/etc/docker/daemon. json
"insecure-registries": ["192.168.0.194:8080"]
and /etc/buildkit/buildkitd.toml

[registry."192.168.0.194:8080"]
  http = true

But it still reports an error

@Fr1ezy Fr1ezy added the question Further information is requested label Nov 8, 2024
@pradhans0906
Copy link
Contributor

can you please share more info about your set up , I have spawned a new local registry and I am able to patch through copa.

`copa patch --scanner docker-scout
--image localhost:8080/library/nginx:latest
--debug
DEBU[0000] Trying docker driver
DEBU[0000] serving grpc connection
DEBU[0000] stopping session
DEBU[0000] serving grpc connection
#1 resolve image config for docker-image://localhost:8080/library/nginx:latest
#1 DONE 0.7s
DEBU[0000] Using debian:12-slim as basis for tooling image

#2 resolve image config for docker-image://localhost:8080/library/nginx:latest
#2 DONE 0.0s
`

@sozercan sozercan changed the title [QUESTION] <title>Does Copa support the HTTP protocol? [QUESTION] Does Copa support the HTTP protocol? Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants