LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Containers (https://www.linuxquestions.org/questions/linux-containers-122/)
-   -   Podman how to confirm if logged into a registry or not (https://www.linuxquestions.org/questions/linux-containers-122/podman-how-to-confirm-if-logged-into-a-registry-or-not-4175693165/)

JockVSJock 04-05-2021 10:17 AM

Podman how to confirm if logged into a registry or not
 
Don't see if there is a way to confirm if logged into a registry or not from the cli, other then logging out and logging back into a registry.

Code:

podman logout <name of registry.io here>
I'm having a hard time pushing to a registry. Eventually I got it, but I wasn't sure if Podman caches info under the home directory or somewhere else.

I'm learning Podman on the fly...

cliffordw 06-15-2021 12:45 AM

Hi there. Late reply, so not sure if you're still looking, but I use this:

Code:

podman login --get-login <name of registry.io here>

JockVSJock 07-08-2021 09:00 AM

Better late then never.

Thanks and marked as solved.


All times are GMT -5. The time now is 04:00 AM.