Login to registry

Authenticate with a container registry

podman login registry.example.com -u myuser

tool
podman16 commands
tags
podmancontainers

More podman commands

  • podman generate systemd --new --files --name <name>

    Emit a portable .service that recreates the container on start; note: Quadlet is the modern way

  • podman generate kube <pod> > pod.yaml

    Reverse-engineer a running pod into a K8s manifest for migration to a cluster

  • podman play kube pod.yaml --replace

    Spin up pods/services from a K8s manifest with no cluster; --replace re-applies cleanly

  • podman unshare cat /proc/self/uid_map; cat /etc/subuid

    Inspect the user-namespace uid range backing rootless containers; fix perms via chown inside unshare

  • podman auto-update --dry-run && systemctl --user start podman-auto-update

    Pull newer images and restart labeled containers; needs io.containers.autoupdate=registry label

all 16 podman commands