概要
7-Zip Docker image
システム・インフラ計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 履歴を収集中
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルAbout
Docker image for 7-Zip built from source. It includes
upstream 7zz as the default command, 7z as its alias, and the 7za and
7zr compatibility binaries.
[!TIP] Want to be notified of new releases? Check out 🔔 Diun (Docker Image Update Notifier) project!
Build locally
git clone https://github.com/crazy-max/docker-7zip.git
cd docker-7zip
# Build image and output to docker (default)
docker buildx bake
# Build multi-platform image
docker buildx bake image-all
# Test archive creation and extraction on all supported platforms
docker buildx bake smoke-test
Image
| Registry | Image |
|---|---|
| Docker Hub | crazymax/7zip |
| GitHub Container Registry | ghcr.io/crazy-max/7zip |
Following platforms for this image are available:
$ docker buildx imagetools inspect crazymax/7zip --format "{{json .Manifest}}" | \
jq -r '.manifests[] | select(.platform.os != null and .platform.os != "unknown") | .platform | "\(.os)/\(.architecture)\(if .variant then "/" + .variant else "" end)"'
linux/amd64
linux/arm/v6
linux/arm/v7
linux/arm64
linux/ppc64le
linux/riscv64
linux/s390x
Usage
Compress the mounted folder /root to root.7z :
docker run --rm --workdir /data -it -v /root:/data crazymax/7zip 7zz a root.7z .
Extract archive root.7z from the mounted folder /root :
docker run --rm --workdir /data -it -v /root:/data crazymax/7zip 7zz x root.7z
To stream a file from an archive to stdout, use -so. Even when you pipe or
redirect the output on the host, Docker can log the entire extracted file.
Use --log-driver none to disable container logging for that run.
docker run --rm --log-driver none --workdir /data -v "$PWD:/data" crazymax/7zip 7zz e -so heavy.7z payload.bin > extracted.bin
Use tar if you want to preserve Unix ownership / permissions :
docker run --rm --workdir /data -it -v /root:/data crazymax/7zip sh -c 'tar cvf - * | 7zz a -si root.tar.7z'
Contributing
Want to contribute? Awesome! The most basic way to show your support is to star the project, or to raise issues. You can also support this project by becoming a sponsor on GitHub or by making a PayPal donation to ensure this journey continues indefinitely!
Thanks again for your support, it is much appreciated! :pray:
License
MIT. See LICENSE for more details.
Icon credit to finfin.
関連プロジェクトを探す
読み込み中…
