podman login ghcr.io

Category: Kubernetes & Containers

podman login ghcr.io

Log in to a container registry

Saves credentials for the ghcr.io registry so podman push and pull can authenticate, storing them in ~/.config/containers/auth.json. The same file is shared with buildah and skopeo. Log out with podman logout ghcr.io.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.