Image with alpine and xz installed. Utility image for smaller tar file with busybox.
2.1K
Minimal alpine utility container with xz. This is usefull for xz tar support.
Example usage for restore/backup data with bind volumes of folder /var/services
# export
docker run -it --rm -v $(pwd)/var:/var/services:ro -v $(pwd):/backup yvess/alpine-xz \
sh -c "cd /var/ && tar c -vJf services/ /backup/exports/var_services.tar.xz"
# restore
docker run -it --rm -v $(pwd)/var:/var/services -v $(pwd):/backup:ro yvess/alpine-xz \
sh -c "cd /var && rm -Rf services/* && tar x -vJf /backup/exports/var_services.tar.xz"
}
GitHub repo is on yvess/docker-alpine-xz.
Content type
Image
Digest
sha256:e328ded35…
Size
3.4 MB
Last updated
over 3 years ago
docker pull yvess/alpine-xz