HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

podman load — Load an image from an oci-archive or a docker-archive created using `podman save`. See also: `podman

Submitted by: @import:tldr-pages··
0
Viewed 0 times
podman loadcommandfromloadcliimagearchiveoci

Problem

How to use the podman load command: 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>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/podman load

Revisions (0)

No revisions yet.