-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Run subcommand doesn't care about Insecure: true #11933
Comments
@vrothberg PTAL |
|
Apologies. Was a testing error on my end. It works on my machine and I cannot reproduce. @Gwerlas, can you share the contents of |
Hi, Thanks for testing, here is my unqualified-search-registries = ['my-insecure-registry:5000', 'docker.io', 'quay.io', 'registry.fedoraproject.org']
[[registry]]
location = "my-insecure-registry:5000"
insecure = true
[[registry]]
prefix = "docker.io"
location = "mirror.gcr.io"
[[registry]]
prefix = "docker.io/library"
location = "quay.io/libpod" |
@Gwerlas, thanks! The config file looks good to me. Are there any files in Are there any files in |
Yes there is :
|
Note the difference between |
Sorry, I've those files in
|
Thank you. Are there any registries.conf files in |
Apologies, I can reproduce. I'll take a look asap. |
Opened #12064 to fix the issue. Thanks a lot for your help! |
Make sure that the value is only set if specified on the CLI. c/image already defaults to true but if set in the system context, we'd skip settings in the registries.conf. Fixes: containers#11933 Signed-off-by: Valentin Rothberg <[email protected]>
Make sure that the value is only set if specified on the CLI. c/image already defaults to true but if set in the system context, we'd skip settings in the registries.conf. Backport of commit ff31f22. Fixes: containers#11933 Signed-off-by: Valentin Rothberg <[email protected]>
/kind bug
Description
Since the upgrade to
v3.4.0
,podman run
triggerhttp: server gave HTTP response to HTTPS client
whenpodman pull
works.Steps to reproduce the issue:
podman run my-insecure-registry:5000/my-image:latest
trigger this error :podman system info
show wellInsecure: true
podman pull my-insecure-registry:5000/my-image:latest
download the image successfullyThe text was updated successfully, but these errors were encountered: