From 88673a5fcfcedb3ab3f1039a46b3eba912f35e5c Mon Sep 17 00:00:00 2001 From: Qi Wang Date: Tue, 9 Oct 2018 09:26:47 -0400 Subject: Support auth file environment variable & add change to man pages Signed-off-by: Qi Wang --- docs/podman-push.1.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/podman-push.1.md') diff --git a/docs/podman-push.1.md b/docs/podman-push.1.md index 40442a98f..537988ea0 100644 --- a/docs/podman-push.1.md +++ b/docs/podman-push.1.md @@ -49,6 +49,9 @@ Image stored in local container/storage 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: You can also override the default path of the authentication file by setting the REGISTRY\_AUTH\_FILE +environment variable. `export REGISTRY_AUTH_FILE=path` + **--creds="CREDENTIALS"** The [username[:password]] to use to authenticate with the registry if required. -- cgit v1.2.3-54-g00ecf