summaryrefslogtreecommitdiff
path: root/docs/source/markdown/options/authfile.md
blob: d6198aa2490d1cc45e1207f10b3020bbceb0bc38 (plain)
1
2
3
4
5
6
#### **--authfile**=*path*

Path of the authentication file. Default is `${XDG_RUNTIME_DIR}/containers/auth.json`, which is set using **[podman login](podman-login.1.md)**.
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_**.