Wrapper shell scripts for docker image archive
- docker
- gzip (gunzip)
- pigz
- xz
- pxz
By default, script installed into ~/.local/bin/.
You can set your favorite directory to PREFIX
git clone https://github.com/johejo/docker-image-archive-utils.git
cd docker-image-archive-utils/
make install
export PATH="$HOME/.local/bin:$PATH"make uninstalldocker-save-image-to-archive -i alpine -t 3.8 -o alpine-3.8.tar.gzdocker-load-image-from-archive -f alpine-3.8.tar.gzWe tested the operation with several compressors (pigz, xz, pxz) which has the -c (--stdout) option.
docker-save-image-to-archive -i alpine -t 3.8 -o alpine-3.8.tar.xz -z xzdocker-load-image-from-archive -f alpine-3.8.tar.xz -z unxzMIT