ubuntu/cassandra

Verified Publisher

By Canonical

Updated over 2 years ago
Archived

Cassandra, an open source NoSQL distributed database. Long-term versions maintained by Canonical.

Image
Databases & storage
5

50K+

ubuntu/cassandra repository overview

WARNING: this image has been discontinued

The Apache Cassandra image has been discontinued.

This means that this image will no longer be released with new tags based in recent Ubuntu releases or new versions of Apache Cassandra. However, the active tags listed below will still receive security updates when needed.

Once the most recent tag listed below is deprecated, this repository will no longer receive security updates.

Apache Cassandra | Ubuntu

Current Apache Cassandra Docker Image from Canonical, based on Ubuntu. Receives security updates and rolls to newer Apache Cassandra or Ubuntu release. This repository is free to use and exempted from per-user rate limits.

About Apache Cassandra

Apache Cassandra is an open source NoSQL distributed database trusted by thousands of companies for scalability and high availability without compromising performance. Linear scalability and proven fault-tolerance on commodity hardware or cloud infrastructure make it a good platform for mission-critical data.

Tags and Architectures

LTS Up to 5 years of free security maintenance on LTS channels.

ESM Up to 10 years of customer security maintenance from Canonical's restricted repositories.

Channel TagsSupported untilCurrentlyArchitectures
4.0-22.04_beta-Apache Cassandra 4.0 on Ubuntu 22.04 LTSamd64, arm64, ppc64el, s390x
track_risk

Channel Tags shows the most stable channel for that track ordered stable, candidate, beta, edge. More risky channels are always implicitly available. So if beta is listed, you can also pull edge. If candidate is listed, you can pull beta and edge. When stable is listed, all four are available. Images are guaranteed to progress through the sequence edge, beta, candidate before stable.

Commercial use and Extended Security Maintenance channels

If your usage includes commercial redistribution, or requires ESM or unavailable channels/versions, please get in touch with the Canonical team (or using [email protected]).

Usage

Launch this image locally:

docker run -d --name cassandra-container -e TZ=UTC -p 7000:7000 -p 7001:7001 -p 7199:7199 -p 9042:9042 -p 9160:9160 ubuntu/cassandra:4.0-22.04_beta

Access your Cassandra server with cqlsh localhost 9042.

Parameters
ParameterDescription
-e TZ=UTCTimezone.
-p 7000:7000Expose itra-node communication
-p 7001:7001Expose TLS itra-node communication
-p 7199:7199Expose JMX
-p 9042:9042Expose CQL
-p 9160:9160Expose thrift service
-v /local/path/to/data:/var/lib/cassandraVolume to store Cassandra data
-v /path/to/logs:/var/log/cassandraVolume to store cassandra logs
Testing/Debugging

To debug the container:

docker logs -f cassandra-container

To get an interactive shell:

docker exec -it cassandra-container /bin/bash

Deploy with Kubernetes

Works with any Kubernetes; if you don't have one, we recommend you install MicroK8s and microk8s.enable dns storage then snap alias microk8s.kubectl kubectl.

Download cassandra-deployment.yml and set containers.cassandra.image in cassandra-deployment.yml to your chosen channel tag (e.g. ubuntu/cassandra:4.0-22.04_beta), then:

kubectl apply -f cassandra-deployment.yml

You can now access the cassandra server on port 9042 (e.g., cqlsh localhost 9042)

Bugs and feature requests

If you find a bug in our image or want to request a specific feature, please file a bug here:

https://bugs.launchpad.net/ubuntu-docker-images/+filebug

Please title the bug "cassandra: <issue summary>". Make sure to include the digest of the image you are using, from:

docker images --no-trunc --quiet ubuntu/cassandra:<tag>

Deprecated channels & tags

These channels (tags) are not updated anymore. Please upgrade to newer channels, or reach out if you can't upgrade.

TrackVersionEOLUpgrade Path
4.0-21.10Apache Cassandra 4.0 on Ubuntu 21.10 04/2022 4.0-22.04_beta
4.0-21.04Apache Cassandra 4.0 on Ubuntu 21.04 01/2022 4.0-21.10
4.0-20.04Apache Cassandra 4.0 on Ubuntu 20.04 LTS01/2021 4.0-21.04
track

Tag summary

Content type

Image

Digest

sha256:f7d4dabd8

Size

126 MB

Last updated

over 2 years ago

docker pull ubuntu/cassandra:4.0-22.04_edge

This week's pulls

Pulls:

163

Last week