mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 01:02:09 +02:00
podman-login: add page (#14915)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
parent
9fc92f1d39
commit
da2e0ed498
1 changed files with 17 additions and 0 deletions
17
pages/common/podman-login.md
Normal file
17
pages/common/podman-login.md
Normal file
|
@ -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}}`
|
Loading…
Add table
Reference in a new issue