The official snappy docker image.
Maintained by: openEuler CloudNative SIG.
Where to get help: openEuler CloudNative SIG, openEuler.
Current snappy docker images are built on the openEuler. This repository is free to use and exempted from per-user rate limits.
Snappy is a compression/decompression library. It does not aim for maximum compression, or compatibility with any other compression library; instead, it aims for very high speeds and reasonable compression. For instance, compared to the fastest level of zlib, Snappy is an order of magnitude faster for most inputs, but the resulting compressed files are anywhere from 20% to 100% bigger.
Learn more on Snappy - A fast compressor/decompressor.
The tag of each snappy docker image is consist of the version of snappy and the version of basic image. The details are as follows
| Tag | Currently | Architectures |
|---|---|---|
| 1.1.7-oe2403sp4 | snappy 1.1.7 on openEuler 24.03-LTS-SP4 | amd64, arm64 |
In this usage, users can select the corresponding {Tag} based on their requirements.
Pull the openeuler/snappy image from docker
docker pull openeuler/snappy:{Tag}
Check the installed snappy library version
docker run --rm openeuler/snappy:{Tag} pkg-config --modversion snappy
Compile a program against the snappy library
docker run --rm -v "$(pwd)":/work -w /work openeuler/snappy:{Tag} \
g++ -O2 -o myapp myapp.cpp $(pkg-config --cflags --libs snappy)
Run the snappy unit benchmark inside the container
docker run --rm -it openeuler/snappy:{Tag} bash
Start a long-running container for exploration
docker run -d --name my-snappy openeuler/snappy:{Tag} sleep infinity
View the container logs
docker logs -f my-snappy
To get an interactive shell
docker exec -it my-snappy bash
If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images.
Content type
Image
Digest
sha256:58b692738…
Size
65 MB
Last updated
2 days ago
docker pull openeuler/snappy