-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Lena <[email protected]>
- Loading branch information
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# podman login | ||
|
||
> Log in to a container registry. | ||
> Note: the default authfile path on Linux is `$XDG_RUNTIME_DIR/containers/auth.json`, which is usually stored in a `tmpfs` (in RAM). | ||
> More information: <https://docs.podman.io/en/latest/markdown/podman-login.1.html>. | ||
- Log in to a registry (non-persistent on Linux; persistent on Windows/macOS): | ||
|
||
`podman login {{registry.example.org}}` | ||
|
||
- Log in to a registry persistently on Linux: | ||
|
||
`podman login --authfile $HOME/.config/containers/auth.json {{registry.example.org}}` | ||
|
||
- Log in to an insecure (HTTP) registry: | ||
|
||
`podman login --tls-verify false {{registry.example.org}}` |