Replies: 4 comments
-
@mtrmac PTAL |
Beta Was this translation helpful? Give feedback.
-
Not saying which registry you want to work with can only guess so much. And using Docker documentation can only be relevant to a point. I strongly recommend specifying the registry in all operations, or maybe using specifically configured aliases. Alternatively, changing (The cause here is that |
Beta Was this translation helpful? Give feedback.
-
Since I don't see this as an issue at this point, I have converted it to a discussion. |
Beta Was this translation helpful? Give feedback.
-
I think it would be a reasonable RFE to include the credential scope (registry[/repo]) in the interactive That would not help non-interactive users using |
Beta Was this translation helpful? Give feedback.
-
Issue Description
First off, I'm not sure if this is a podman issue or a fedora package issue, but I figured this might be helpful here since there are a lot of closed, but unresolved, issues here that seem like they could be caused by this. Also, this is on 4.9.4, I haven't tried v5.
Doing a fresh setup with
podman-docker
installed on fedora and following docker.io's instructions for logging in and pushing my first image, I'm told my "Login Succeeded!", but when I try to push I get a "resource denied" error.It seems running
docker login -u $USER
stores the access token as a token forregistry.fedoraproject.org
(not what I expected), but when I try to push it tries to push toregistry-1.docker.io
(is what I expected).Steps to reproduce the issue
a. Create access token
b. run
docker login -u $USER
c. enter token
Describe the results you received
Describe the results you expected
^ exit success
or
Failure for the login command
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
No
Additional environment details
No response
Additional information
Workaround
For anyone else having this issue, either edit your
auth.json
file to say "registry-1.docker.io" or just rundocker login -u $USER registry-1.docker.io
instead.Beta Was this translation helpful? Give feedback.
All reactions