From 585d715bb935119ed0db02068fc6b1a615233a57 Mon Sep 17 00:00:00 2001 From: Tom Deseyn Date: Tue, 30 May 2023 11:09:55 +0200 Subject: [PATCH] authfile.md: add default path of file for Windows/macOS. Signed-off-by: Tom Deseyn --- docs/source/markdown/options/authfile.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/markdown/options/authfile.md b/docs/source/markdown/options/authfile.md index a2fa03bb28..576b9b5fe7 100644 --- a/docs/source/markdown/options/authfile.md +++ b/docs/source/markdown/options/authfile.md @@ -4,7 +4,7 @@ ####> 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](podman-login.1.md)**. -If the authorization state is not found there, `$HOME/.docker/config.json` is checked, which is set using **docker login**. +Path of the authentication file. Default is `${XDG_RUNTIME_DIR}/containers/auth.json` on Linux, and `$HOME/.config/containers/auth.json` on Windows/macOS. +The file is created by **[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_**.