Skip to content

Commit

Permalink
Merge pull request #1442 from svdHero-Forks/main
Browse files Browse the repository at this point in the history
Corrects wrong default path for auth.json in docs
  • Loading branch information
mtrmac authored Jan 18, 2022
2 parents 09a6859 + 5431f38 commit d9c79d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/containers-auth.json.5.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on Windows and macOS, at `$HOME/.config/containers/auth.json`.

When searching for the credential for a registry, the following files will be read in sequence until the valid credential is found:
first reading the primary (read/write) file, or the explicit override using an option of the calling application.
If credentials are not present, search in `${XDG\_CONFIG\_HOME}/containers/auth.json`, `$HOME/.docker/config.json`, `$HOME/.dockercfg`.
If credentials are not present, search in `${XDG_CONFIG_HOME}/containers/auth.json` (usually `~/.config/containers/auth.json`), `$HOME/.docker/config.json`, `$HOME/.dockercfg`.

Except the primary (read/write) file, other files are read-only, unless the user use an option of the calling application explicitly points at it as an override.

Expand Down

0 comments on commit d9c79d3

Please sign in to comment.