File: authfile.md

package info (click to toggle)
libpod 4.3.1%2Bds1-8%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 18,252 kB
  • sloc: sh: 4,696; perl: 2,043; python: 1,908; ansic: 1,188; makefile: 848; xml: 89; ruby: 42; awk: 12
file content (6 lines) | stat: -rw-r--r-- 503 bytes parent folder | download
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_**.