Log in to a registry

Log in to a container registry with your username

podman login registry.example.com -u myuser

tool
podman16 commands
tags
podmancontainers

More podman commands

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

    Write a portable .service file that creates the container again on each start; the newer way is Quadlet

  • podman generate kube <pod> > pod.yaml

    Turn a running pod into a Kubernetes manifest to move it to a cluster

  • podman play kube pod.yaml --replace

    Start pods and services from a Kubernetes manifest without a cluster; --replace recreates them from scratch

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

    Show the user namespace UID range behind rootless containers; fix file permissions with chown inside podman unshare

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

    Pull newer images and restart labeled containers; they need the io.containers.autoupdate=registry label

all 16 podman commands