LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

podman-import

Create container image from filesystem tarball

TLDR

Import tarball as image
$ podman import [file.tar] [image:tag]
copy
Import from URL
$ podman import [https://example.com/rootfs.tar] [image]
copy
Import with changes
$ podman import --change "CMD [/bin/bash]" [file.tar] [image]
copy

SYNOPSIS

podman import [options] path [reference]

DESCRIPTION

podman import creates a new container image from a filesystem tarball (or URL). Unlike podman load, which restores a previously saved image with all its layers and metadata, import creates a flat single-layer image from a root filesystem archive.The --change option allows applying Dockerfile instructions (like CMD, ENTRYPOINT, ENV) to the imported image. This is typically used with archives created by podman export or other tools that produce root filesystem tarballs.

PARAMETERS

PATH

Tarball path or URL.
REFERENCE
Image name and tag.
--change INSTRUCTION
Apply Dockerfile instruction.
-m, --message MSG
Commit message.

INSTALL

sudo apt install podman
copy
sudo dnf install podman
copy
sudo pacman -S podman
copy
sudo apk add podman
copy
sudo zypper install podman
copy
brew install podman
copy
nix profile install nixpkgs#podman
copy

CAVEATS

Creates single layer image. No build history.

HISTORY

podman import provides tarball to image conversion functionality.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid