mirror of
https://github.com/containers/podman.git
synced 2026-10-26 19:59:31 -04:00
Add support for --compat-auth-file in login/logout
This mostly just inherits the c/common/pkg/auth implementation, except that AuthFilePath and DockerCompatAuthFilePath can not be set simultaneously, so don't unnecessarily explicitly set AuthFilePath. c/common already handles that. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
1 parent
a3d5814e0e
commit
d0b32255e4
6 files changed
+59
-5
No files matched your search
@@ -32,6 +32,10 @@ For more details about format and configurations of the auth.json file, see cont
|
||||
|
||||
@@option cert-dir
|
||||
|
||||
#### **--compat-auth-file**=*path*
|
||||
|
||||
Instead of updating the default credentials file, update the one at *path*, and use a Docker-compatible format.
|
||||
|
||||
#### **--get-login**
|
||||
|
||||
Return the logged-in user for the registry. Return error if no login is found.
|
||||
|
||||
@@ -27,6 +27,10 @@ Remove the cached credentials for all registries in the auth file
|
||||
|
||||
@@option authfile
|
||||
|
||||
#### **--compat-auth-file**=*path*
|
||||
|
||||
Instead of updating the default credentials file, update the one at *path*, and use a Docker-compatible format.
|
||||
|
||||
#### **--help**, **-h**
|
||||
|
||||
Print usage statement
|
||||
|
||||
Reference in new issue
Block a user