mirror of
https://github.com/containers/podman.git
synced 2025-12-11 01:11:30 +08:00
Add --creds flag to podman create and podman run commands to support registry authentication during image pulling. Without this flag, users must perform a separate `podman pull --creds/--cert-dir` first and then remember to specify `--pull=never`. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
675 B
675 B
####> This option file is used in: ####> podman artifact pull, artifact push, build, container runlabel, create, farm build, image sign, kube play, login, manifest add, manifest push, pull, push, run, search ####> If file is edited, make sure the changes ####> are applicable to all of those.
--cert-dir=path
Use certificates at path (*.crt, *.cert, *.key) to connect to the registry. (Default: /etc/containers/certs.d) For details, see containers-certs.d(5). (This option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines)