Sign inSign up

yvess/alpine-xz

By yvess

•Updated over 3 years ago

Image with alpine and xz installed. Utility image for smaller tar file with busybox.

Image
0

2.1K

yvess/alpine-xz repository overview

⁠README

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⁠.

Tag summary

Content type

Image

Digest

sha256:e328ded35…

Size

3.4 MB

Last updated

over 3 years ago

docker pull yvess/alpine-xz