1
0
Fork 0
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:
cyqsimon 2024-11-21 20:05:41 +08:00 committed by GitHub
parent 9fc92f1d39
commit da2e0ed498
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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}}`