Open dschulten opened 2 months ago
@mtrmac PTAL
AFAIK login happen on the client but your config is only on the server. So the login command has no idea the the registry is configured as insecure.
Very interesting! Where do I configure an insecure registry on the client? From your answer I learn that I am configuring the server when I execute podman machine ssh - where is client configuration located?
A friendly reminder that this issue had no activity for 30 days.
Issue Description
I need to login to a corporate registry that functions as mirror for internet registries and only runs with http.
I have marked the registry as insecure by adding the following entry to /etc/containers/registries.conf:
Login fails:
So it appears that marking a registry as insecure does not have the effect that the login communication switches to http only.
Pulling and running images also fails:
The output above comes from the Windows Terminal Cmder, I have also tried pure cmd, same result.
Steps to reproduce the issue
Try podman login with insecure http registry
Describe the results you received
Login fails, it appears that podman tries to login with https in spite of the flag insecure registry
Describe the results you expected
Login success
podman info output
Podman in a container
No
Privileged Or Rootless
Privileged
Upstream Latest Release
Yes
Additional environment details
None
Additional information
None