summaryrefslogtreecommitdiff
path: root/docs/podman-login.1.md
diff options
context:
space:
mode:
authorTheodore Cowan <theodore-cowan@pluralsight.com>2018-12-17 07:05:44 -0500
committerTheodore Cowan <theodore-cowan@pluralsight.com>2018-12-17 11:20:40 -0500
commitd5647fe053f2fdd97118c6aebfb1e467bdbf3ed3 (patch)
tree0485d462fe33254fa7ba98333576e59976ffc9a7 /docs/podman-login.1.md
parent93b5ccfe94f3f180542f045a92f14b8d2368e73e (diff)
downloadpodman-d5647fe053f2fdd97118c6aebfb1e467bdbf3ed3.tar.gz
podman-d5647fe053f2fdd97118c6aebfb1e467bdbf3ed3.tar.bz2
podman-d5647fe053f2fdd97118c6aebfb1e467bdbf3ed3.zip
add --get-login command to podman-login.
Returns user if user is logged-in to the registry. Returns error if not logged in with non-zero status code. Signed-off-by: Theodore Cowan <theodore-cowan@pluralsight.com>
Diffstat (limited to 'docs/podman-login.1.md')
-rw-r--r--docs/podman-login.1.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/podman-login.1.md b/docs/podman-login.1.md
index 7c033d7c5..e72d1deca 100644
--- a/docs/podman-login.1.md
+++ b/docs/podman-login.1.md
@@ -36,6 +36,10 @@ Path of the authentication file. Default is ${XDG_\RUNTIME\_DIR}/containers/auth
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`
+**--get-login**
+
+Return the logged-in user for the registry. Return error if no login is found.
+
**--cert-dir** *path*
Use certificates at *path* (\*.crt, \*.cert, \*.key) to connect to the registry.