Closed bszeti closed 4 years ago
@QiWang19 PTAL
Is this related to login/logout not yet being implemented for remote?
Using the --creds parameter we should be able to add username:password with every pull/push command. Login/logout is different as it should save the credentials temporarily or permanently in a file so we don't have to pass it with every command where it's needed. The remote-client clearly provides no login feature at the moment, but help says that --creds should work.
the creds are not passed to the func PullImage(name: string)
API, should we add a new argument to the API for creds or hide the --creds
when remote?
I don't think creds can be used on remote system, so it should be hidden.
Does this mean that we don't have any solution to pull images from authenticated registries using the remote-client?
Sorry I was mistaken,I was thinking certs not creds. We should be able to pass creds across. It is a requirement.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description Podman remote-client parameter
--creds 'USERNAME:PASSWORD'
doesn't work for pull or push. I tried with Podman remote-client v1.6.1 and 1.8.0 with matching server version.Steps to reproduce the issue:
Use remote-client v1.8.0
Try to pull an image from secured registry. E.g.:
podman pull --creds 'bszeti:mysecret' quay.io/bszeti/myimage
Fails with message:
The same command works using podman directly on the Linux host.
Describe the results you received:
Describe the results you expected: Successful pull or push.
Additional information you deem important (e.g. issue happens only occasionally): Same problem with
podman push
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Additional environment details (AWS, VirtualBox, physical, etc.): Tried remote-client on MacOS with Fedora31 Linux host running in VirtualBox with Podman v1.6.0 and v1.8.0.