-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Unable to inspect image manifests in private repository on Mac #19147
Comments
Please update you podman versions, both the client and server are out of date. When you have a new client you likely need to do |
My apologies, I thought I had the most up-to-date version. The error still persists on 4.5.1. I have updated the |
Thanks for checking. @vrothberg @mtrmac PTAL |
I didn´t double check in the code but my suspicion is that |
Yes; “invalid status code from registry 400 (Bad Request)” seems a bit unexpected in this situation, but, meh, we know registry error reporting is inconsistent, and anyway we need to pass the credentials through before we can worry about other possible problem causes. And the report says that it works fine from inside the Linux VM, so it really seems that the cause is missing credentials. |
A friendly reminder that this issue had no activity for 30 days. |
I think this was fixed in #19180? |
Issue Description
The image is hosted in a private image repository. This image is mirrored to a public image repository using
skopeo
. I am able to runpodman manifest inspect <image>
on the image hosted in the public repository, but not on the image hosted in the private repository.Note: I am able to pull the image from the private repository with
podman pull
This seems to be an issue with running the command on Mac, as the command works inside of a Linux VM.
podman logout <repository>
followed bypodman login <repository>
does not resolve the issue.podman version
Steps to reproduce the issue
Steps to reproduce the issue
podman manifest inspect <image>
where is hosted in a private image repository. On MacOS.Describe the results you received
Error: getting content of manifest list or image reading image "docker://": Requesting bearer token: invalid status code from registry 400 (Bad Request)
Describe the results you expected
{
"schemaVersion": 2,
"mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
"manifests": [
......
]
}
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: