Skip to content

Commit

Permalink
podman-login: add page (tldr-pages#14915)
Browse files Browse the repository at this point in the history
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
  • Loading branch information
cyqsimon and acuteenvy authored Nov 21, 2024
1 parent 9fc92f1 commit da2e0ed
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pages/common/podman-login.md
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}}`

0 comments on commit da2e0ed

Please sign in to comment.