The official Cassandra docker image.
Maintained by: openEuler CloudNative SIG.
Where to get help: openEuler CloudNative SIG, openEuler.
Current Cassandra docker images are built on the openEuler. This repository is free to use and exempted from per-user rate limits.
Apache Cassandra is a free and open-source database management system designed to handle large volumes of data across multiple commodity servers. Cassandra supports clusters and spanning of multiple data centers, featuring asynchronous and masterless replication. It enables low-latency operations for all clients and incorporates Amazon's Dynamo distributed storage and replication techniques, combined with Google's Bigtable data storage engine model.
Learn more about Cassandra at https://cassandra.apache.org/.
The tag of each cassandra docker image is consist of the version of cassandra and the version of basic image. The details are as follows
| Tag | Currently | Architectures |
|---|---|---|
| 5.0.6-oe2403sp4 | cassandra 5.0.6 on openEuler 24.03-LTS-SP4 | amd64, arm64 |
| 5.0.6-oe2403sp3 | cassandra 5.0.6 on openEuler 24.03-LTS-SP3 | amd64, arm64 |
| 4.1.4-oe2203sp3 | Cassandra 4.1.4 on openEuler 22.03-LTS-SP3 | amd64, arm64 |
In this usage, users can select the corresponding {Tag} and container startup options based on their requirements.
Pull the openeuler/cassandra image from docker
docker pull openeuler/cassandra:{Tag}
Start a cassandra instance
docker run -d --name my-cassandra -p 7000:7000 -p 7001:7001 -p 7199:7199 -p 9042:9042 -p 9160:9160 openeuler/cassandra:{Tag}
After the instance my-cassandra is started, access the alertmanager service through cqlsh localhost 9042(Install cqlsh using pip install cqlsh).
Container startup options
| Option | Description |
|---|---|
| -p 7000:7000 | Exposes the port used for inter-node communication. |
| -p 7001:7001 | Exposes the port used for inter-node TLS encrypted communication. |
| -p 7199:7199 | Exposes the JMX management port. |
| -p 9042:9042 | Exposes the CQL interaction port. |
| -p 9160:9160 | Exposes the Thrift service port. |
| -v /local/path/to/data:/var/lib/cassandra | Location to store data. |
| -v /path/to/logs:/var/log/cassandra | Location to store logs. |
View container running logs
docker logs -f my-cassandra
To get an interactive shell
docker exec -it my-cassandra /bin/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:6d5824b46…
Size
260.3 MB
Last updated
2 months ago
docker pull openeuler/cassandraPulls:
14
Last week