LinuxCommandLibrary

podman-login

Authenticate with container registries

TLDR

Login to Docker Hub

$ podman login docker.io
copy
Login to specific registry
$ podman login [registry.example.com]
copy
Login with credentials
$ podman login -u [username] -p [password] [registry]
copy
Login with stdin password
$ echo [password] | podman login -u [user] --password-stdin [registry]
copy

SYNOPSIS

podman login [options] registry

DESCRIPTION

podman login authenticates with container registries. Stores credentials in auth file for subsequent pulls and pushes. Supports Docker Hub, Quay.io, and private registries.

PARAMETERS

-u, --username name

Registry username.
-p, --password pass
Registry password.
--password-stdin
Read password from stdin.
--tls-verify bool
Verify TLS certificates.
--authfile file
Path to auth file.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community