Sign inSign up

openeuler/cassandra

Sponsored OSS

By openeuler

Updated 2 months ago

Image
0

10K+

openeuler/cassandra repository overview

Quick reference

Cassandra | 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

TagCurrentlyArchitectures
5.0.6-oe2403sp4cassandra 5.0.6 on openEuler 24.03-LTS-SP4amd64, arm64
5.0.6-oe2403sp3cassandra 5.0.6 on openEuler 24.03-LTS-SP3amd64, arm64
4.1.4-oe2203sp3Cassandra 4.1.4 on openEuler 22.03-LTS-SP3amd64, arm64

Usage

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

    OptionDescription
    -p 7000:7000Exposes the port used for inter-node communication.
    -p 7001:7001Exposes the port used for inter-node TLS encrypted communication.
    -p 7199:7199Exposes the JMX management port.
    -p 9042:9042Exposes the CQL interaction port.
    -p 9160:9160Exposes the Thrift service port.
    -v /local/path/to/data:/var/lib/cassandraLocation to store data.
    -v /path/to/logs:/var/log/cassandraLocation to store logs.
  • View container running logs

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

    docker exec -it my-cassandra /bin/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:6d5824b46

Size

260.3 MB

Last updated

2 months ago

docker pull openeuler/cassandra

This week's pulls

Pulls:

14

Last week