HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

podman login — Log in to a container registry. Note: The default authfile path on Linux is `$XDG_RUNTIME_DIR/contai

Submitted by: @import:tldr-pages··
0
Viewed 0 times
registrythecommandnoteclipodman loginlogcontainer

Problem

How to use the podman login command: Log in to a container registry. Note: The default authfile path on Linux is $XDG_RUNTIME_DIR/containers/auth.json, which is usually stored in a tmpfs (in RAM). More information: <https://docs.podman.io/en/latest/markdown/podman-login.1.html>.

Solution

podman login — Log in to a container registry. Note: The default authfile path on Linux is $XDG_RUNTIME_DIR/containers/auth.json, which is usually stored in a tmpfs (in RAM). More information: <https://docs.podman.io/en/latest/markdown/podman-login.1.html>.

Log in to a registry (non-persistent on Linux; persistent on Windows/macOS):
podman login {{registry.example.org}}


Log in to a registry persistently on Linux:
podman login --authfile $HOME/.config/containers/auth.json {{registry.example.org}}


Log in to an insecure (HTTP) registry:
podman login --tls-verify false {{registry.example.org}}

Code Snippets

Log in to a registry (non-persistent on Linux; persistent on Windows/macOS)

podman login {{registry.example.org}}

Log in to a registry persistently on Linux

podman login --authfile $HOME/.config/containers/auth.json {{registry.example.org}}

Log in to an insecure (HTTP) registry

podman login --tls-verify false {{registry.example.org}}

Context

tldr-pages: common/podman login

Revisions (0)

No revisions yet.