podman-remote - support login/logout

Created on 16 Sep 2019  路  22Comments  路  Source: containers/podman

I installed podman on mac using homebrew but there is no login command. It is completely unrecognized and it doesn't even show in --help as an option.

stale-issue

Most helpful comment

We support login/logout on Linux now, this is about adding support for podman-remote which would affect macos and windows.

All 22 comments

the decision to not support login is intentional because performing a login on the mac itself probably does the user no good. this is because when pulling, for example, the pull is actually being done on a linux backend where you have pointed the podman client.

@rhatdan we still comfortable with this decision?

No I think we need to have some support for login, since the user will not be able to use the container. Can't we just do the login on the server, and keep the keys there?

i dont see why not ... just need to plan for it and add the remote endpoints for it

@QiWang19 ^^

Changed the title as it generally affects the remote client.

@baude @rhatdan @QiWang19, we should discuss how to implement it. Storing the credentials on the endpoint seems undesirable and ~insecure. Storing them on the client-side will require to update a considerable amount of APIs, since the credentials need to be passed. Hence, supporting the remote use-case could end up in some _very_ intrusive and breaking changes.

I'm not suggesting to not support it but maybe we can prevent invasive code changes by using opts structs? It'll still be a breaking change semantically but the code changes would be minimal.

I want to get rid of the docker desktop for something more lightweight... but I immediately ran into this issue with a colleague (who runs podman on linux) and the two of us were totally confused and gave up after 15 minutes.

Now after reading the readme I am no less confused about how I might use buildah or podman and whether or not I can finally replace the awful docker desktop.

And by "awful" I mean this...
image

@philbert stick with us ... the only question at this point is how to do it safely/securely.

Right. I'm trying to push to an image registry in ocp4.1 made possible by codeready in my laptop. According to docs, podman login -u kubeadmin -p $(oc whoami -t) :5000 should work, but since it's not available yet...what work around do I have? Back to using docker for now?

@baude Lets raise the priority of this, and get something in the next sprint.

in my view, any cli commands should be uniform across operating systems. it doesn't make sense to not have "login" just on macos

We support login/logout on Linux now, this is about adding support for podman-remote which would affect macos and windows.

This issue had no activity for 30 days. In the absence of activity or the "do-not-close" label, the issue will be automatically closed within 7 days.

This is being worked on.

Any updates to this? Impacting openshift 4.2 documentation on MACOSX using podman

Well most of the effort has been refocused on implementing the Docker API. Should have more news after the holidays.

A friendly reminder that this issue had no activity for 30 days.

The APIV2 code has been merged into the upstream master, but still aways from podman remote work.

A friendly reminder that this issue had no activity for 30 days.

@baude @jwhonce Has the APIs for login/logout been implemented in the new API yet

I have podman version 1.6.1-dev installed on mac, "podman login" still not available. any alternative?

Not yet, that is part of the podman V2 effort.

It does now.

Was this page helpful?
0 / 5 - 0 ratings