podman-login(1) General Commands Manual podman-login(1) (NAME) podman-login - (SYNOPSIS) podman login [] [] (DESCRIPTION) podman login (registry) . [registries.search] registries.conf . podman login STDIN . username password . authfile . (credentials) ${XDG_RUNTIME_DIR}/containers/auth.json . . ${XDG_RUNTIME_DIR}/containers/auth.json $HOME/.docker/config.json . ${XDG_RUNTIME_DIR}/containers/auth.json ( ) STDIN base64 . auth.json containers-auth.json(5) . podman [ ] podman login [ ] podman login [] [] [ ] (OPTIONS) --authfile= . ${XDG_RUNTIME_DIR}/containers/auth.json / $HOME/.config/containers/auth.json . podman login . $HOME/.docker/config.json docker login . : REGISTRY_AUTH_FILE . export REGISTRY_AUTH_FILE= . --cert-dir= (*.crt *.cert *.key) . (: /etc/containers/certs.d) containers-certs.d(5) . ( Mac Windows ( WSL2) ) --compat-auth-file= . --get-login . . --help, -h --password, -p= --password-stdin stdin --secret= . username-- username=-- . --tls-verify HTTPS (: true). true TLS . false TLS . TLS containers- registries.conf(5) . --username, -u= --verbose, -v (credential store) (EXAMPLES) docker $XDG_RUNTIME_DIR /run ( ) . $ podman login quay.io Username: umohnani Password: Login Succeeded! : $ podman login --authfile ~/.config/containers/auth.json quay.io Username: umohnani Password: Login Succeeded! : $ podman login -u testuser -p testpassword localhost:5000 Login Succeeded! authfile : $ podman login --authfile authdir/myauths.json quay.io Username: umohnani Password: Login Succeeded! : $ echo -n MySecret! | podman secret create secretname - a0ad54df3c97cf89d5ca6193c $ podman login --secret secretname -u testuser quay.io Login Succeeded! test test localhost:5000 TLS: $ podman login --tls-verify=false -u test -p test localhost:5000 Login Succeeded! foo bar localhost:5000 /etc/containers/certs.d: $ podman login --cert-dir /etc/containers/certs.d/ -u foo -p bar localhost:5000 Login Succeeded! stdin : $ podman login -u testuser --password-stdin < testpassword.txt docker.io Login Succeeded! stdin : $ echo $testpassword | podman login -u testuser --password-stdin quay.io Login Succeeded! (verbose): $ podman login quay.io --verbose Username: myusername Password: Used: /run/user/1000/containers/auth.json Login Succeeded! (SEE ALSO) podman(1), podman-logout(1), containers-auth.json(5), containers- certs.d(5), containers-registries.conf(5), podman-secret(1), podman- secret-create(1) (HISTORY) Urvashi Mohnani umohnani@redhat.com podman-login(1)