mirror of
https://github.com/containers/podman.git
synced 2025-05-31 15:42:48 +08:00
777 B
777 B
####> This option file is used in: ####> podman auto update, build, container runlabel, create, image sign, kube play, login, logout, manifest add, manifest push, pull, push, run, search ####> If file is edited, make sure the changes ####> are applicable to all of those.
--authfile=path
Path of the authentication file. Default is ${XDG_RUNTIME_DIR}/containers/auth.json
, which is set using podman login.
If the authorization state is not found there, $HOME/.docker/config.json
is checked, which is set using docker login.
Note: There is also the option to override the default path of the authentication file by setting the REGISTRY_AUTH_FILE
environment variable. This can be done with export REGISTRY_AUTH_FILE=path.