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

Use HTTP for localhost registry #149

Open
rellfy opened this issue Feb 1, 2025 · 0 comments
Open

Use HTTP for localhost registry #149

rellfy opened this issue Feb 1, 2025 · 0 comments

Comments

@rellfy
Copy link

rellfy commented Feb 1, 2025

Is there a way to use http (instead of https) for a localhost registry? Looks like the default_registry field in the settings file only accepts an origin so it fails to parse if prefixed by e.g. http://.

In the README I see that it's possible to use the http protocol for the OCI registry:

[registry."acme.registry.com".oci]
# This is an optional field that tells the OCI client to use a specific http protocol. If this is
# not set or not one of the accepted values of "http" or "https", then the default (https) will
# be used.
protocol = "https"

I tried using this for a warg registry but it didn't seem to work.

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

1 participant