Files
cheatsheet-tldr/tldr/podman-load
2025-12-31 00:22:26 +00:00

27 lines
732 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# podman load
> Load an image from an oci-archive or a docker-archive created using `podman save`.
> See also: `podman save`, `podman import`.
> More information: <https://docs.podman.io/en/latest/markdown/podman-load.1.html>.
- Load an image from a tar file:
`podman load {{[-i|--input]}} {{path/to/file.tar}}`
- Load an image from a compressed tar file:
`podman load {{[-i|--input]}} {{path/to/file.tar[.gz|.bz2|.xz|.zst]}}`
- Load an image and display quiet output (only show the image ID):
`podman load {{[-q|--quiet]}} {{[-i|--input]}} {{path/to/file.tar}}`
- Load an image from `stdin`:
`podman < {{path/to/file.tar}} load`