保存镜像
docker image save --help
Save image(s) to an archive
Description:
Save an image to docker-archive or oci-archive on the local machine. Default is docker-archive.
Usage:
docker image save [options] IMAGE [IMAGE...]
Examples:
podman image save --quiet -o myimage.tar imageID
podman image save --format docker-dir -o ubuntu-dir ubuntu
podman image save > alpine-all.tar alpine:latest
Options:
--compress Compress tarball image layers when saving to a directory using the 'dir' transport. (default is same compression type as source)
--format string Save image to oci-archive, oci-dir (directory with oci manifest type), docker-archive, docker-dir (directory with v2s2 manifest type) (default "docker-archive")
-m, --multi-image-archive Interpret additional arguments as images not tags and create a multi-image-archive (only for docker-archive)
-o, --output string Write to a specified file (default: stdout, which must be redirected)
-q, --quiet Suppress the output
podman image save postgres -o myimg
导入镜像
podman image load -i myimg
标签:操作手册,--,image,podman,镜像,docker,save,archive
From: https://www.cnblogs.com/develon/p/17968083