Sign inSign up

openeuler/lz4

Sponsored OSS

By openeuler

•Updated 2 days ago

Image
0

256

openeuler/lz4 repository overview

⁠Quick reference

⁠lz4 | openEuler

Current lz4 docker images are built on the openEuler⁠. This repository is free to use and exempted from per-user rate limits.

LZ4 is lossless compression algorithm, providing compression speed > 500 MB/s per core, scalable with multi-cores CPU. It features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems.

Learn more on LZ4 - Extremely fast compression⁠.

The tag of each lz4 docker image is consist of the version of lz4 and the version of basic image. The details are as follows

TagCurrentlyArchitectures
1.9.3-oe2403sp4⁠lz4 1.9.3 on openEuler 24.03-LTS-SP4amd64, arm64
1.10.0-oe2403sp4⁠lz4 1.10.0 on openEuler 24.03-LTS-SP4amd64, arm64

⁠Usage

In this usage, users can select the corresponding {Tag} based on their requirements.

  • Pull the openeuler/lz4 image from docker

    docker pull openeuler/lz4:{Tag}
    
  • Check the installed lz4 version

    docker run --rm openeuler/lz4:{Tag} lz4 --version
    
  • Compress a file

    docker run --rm -v "$(pwd)":/work -w /work openeuler/lz4:{Tag} \
        lz4 -f input.txt input.txt.lz4
    
  • Decompress a file

    docker run --rm -v "$(pwd)":/work -w /work openeuler/lz4:{Tag} \
        lz4 -d -f input.txt.lz4 input.txt
    
  • Test the integrity of a compressed file

    docker run --rm -v "$(pwd)":/work -w /work openeuler/lz4:{Tag} \
        lz4 -t input.txt.lz4
    
  • Run the built-in in-memory benchmark on a file

    docker run --rm -v "$(pwd)":/work -w /work openeuler/lz4:{Tag} \
        lz4 -b1 input.txt
    
  • Start a long-running container for exploration

    docker run -d --name my-lz4 openeuler/lz4:{Tag} sleep infinity
    
  • View the container logs

    docker logs -f my-lz4
    
  • To get an interactive shell

    docker exec -it my-lz4 bash
    

⁠Question and answering

If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images⁠.

Tag summary

Content type

Image

Digest

sha256:0fe3beb1e…

Size

65.4 MB

Last updated

26 days ago

docker pull openeuler/lz4

This week's pulls

Pulls:

8

Last week