The Red Hat Ecosystem Catalog is the official source for discovering and learning more about the Red Hat Ecosystem of both Red Hat and certified third-party products and services.
We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.
DataStax Docker Docs, DataStax Slack, Github Contact Us for more information on becoming a DataStax Customer
Advanced tutorials are located within DataStax Academy and Studio are available on our Github page
https://github.com/datastax/docker-images/issues
Built on the best distribution of Apache Cassandra™, DataStax Enterprise is the always-on database designed to allow you to effortlessly build and scale your apps, integrating graph, search, analytics, administration, developer tooling, and monitoring into a single unified platform. We power your apps' real-time moments so you can create instant insights and powerful customer experiences.
Use the options described in this section to create DataStax Enterprise server containers.
By default, the DSE server image runs in Cassandra-only mode.. To run with advanced DSE functionality, add the option that enables any combination of search, analytics, and graph to the end of the docker run command.
OptionDescription-sEnables and starts DSE Search.-kEnables and starts Analytics.-gEnables and starts a DSE Graph.
Combine startup options to run more than one feature. For more examples, see Starting DataStax Enterprise as a stand-alone process .
docker run -e DS_LICENSE=accept --name my-dse -d datastax/dse-server:<version tag>
docker run -e DS_LICENSE=accept --name my-dse -d datastax/dse-server:<version tag> -g
docker run -e DS_LICENSE=accept --name my-dse -d datastax/dse-server:<version tag> -k
docker run -e DS_LICENSE=accept --name my-dse -d datastax/dse-server:<version tag> -s
docker run -e DS_LICENSE=accept --name my-dse -d datastax/dse-server:<version tag> -s -k -g
Manage the DSE configuration using one of the following options:
JVM_EXTRA_OPTS or custom cassandra-env.sh or DSE running inside the container due to java not honoring resource limits set for the container. Java utilizes the resources (memory and CPU) of the host. Otherwise DSE will set the heap to 1/4 of the physical ram of the docker host.To use this feature:
docker run -e DS_LICENSE=accept --name my-dse -v /dse/config:/config -d datastax/dse-server:<version tag>
Note When you make changes to or add config files to the /config volume, you will need to restart your container with docker restart container_name for DSE to pickup the changes. Restarting the container will restart DSE.
Configure the DSE image by setting environment variables when the container is created using the docker run command -e flag.
VariableSettingDescriptionDS_LICENSEacceptRequired. Set to accept to acknowledge that you agree with the terms of the DataStax license. To show the license, set the variable DS_LICENSE to the value accept. The image only starts if the variable set to accept.LISTEN_ADDRESSIP_addressThe IP address to listen for connections from other nodes. Defaults to the container's IP address.BROADCAST_ADDRESSIP_addressThe IP address to advertise to other nodes. Defaults to the same value as the LISTEN_ADDRESS.NATIVE_TRANSPORT_ADDRESSIP_addressThe IP address to listen for client/driver connections. Default: 0.0.0.0.NATIVE_TRANSPORT_BROADCAST_ADDRESSIP_addressThe IP address to advertise to clients/drivers. Defaults to the same value as the BROADCAST_ADDRESS.SEEDSIP_addressThe comma-delimited list of seed nodes for the cluster. Defaults to this node's BROADCAST_ADDRESS.START_RPCtrue \ falseWhether or not to start the Thrift RPC server. Will leave the default in the cassandra.yaml file if not set.CLUSTER_NAMEstringThe name of the cluster. Default: Test Cluster.NUM_TOKENSintThe number of tokens randomly assigned to the node. Default: not set .DCstringDatacenter name. Default: Cassandra.RACKstringRack name. Default: rack1.OPSCENTER_IPIP_addressAddress of OpsCenter instance to use for DSE management; it can be specified via linking the OpsCenter container using opscenter as the name.JVM_EXTRA_OPTSstringAllows setting custom Heap using -Xmx and -Xms.LANGstringAllows setting custom LocaleSNITCHstringThis variable sets the snitch implementation this node will use. It will set the endpoint_snitch option of cassandra.yaml. Default: GossipingPropertyFileSnitchDSE_AUTO_CONF_OFFstringSometimes users want to set all variables in the config files. For these situations one must prevent default environment variables from overriding those values. This setting lets you provide a comma-separated list of filenames (options are cassandra.yaml and cassandra-rackdc.properties) that will not accept the Environmental variables or can be set to 'all' to disable default environment variables being set within either file.
To persist data, pre-create directories on the local host and map the directory to the corresponding volume using the docker run -v flag.
NOTE: If the volumes are not mounted from the local host, all data is lost when the container is removed.
DSE images expose the following volumes.
/var/lib/cassandra: Data from Cassandra/var/lib/spark: Data from DSE Analytics w/ Spark/var/lib/dsefs: Data from DSEFS/var/log/cassandra: Logs from Cassandra/var/log/spark: Logs from Sparkdocker run -v <local_directory>:<container_volume>
See Docker docs > Use volumes for more information.
Use the docker exec -it <container_name> command to specific commands.
docker exec -it my-dse nodetool status
If the container is running in the background (using the -d), use the following command to open an interactive bash shell to run DSE commands.
docker exec -it <container_name> bash
To exit the shell without stopping the container type exit.
Use the following command to open cqlsh.
docker exec -it <container_name> cqlsh
You can view the DSE logs using the Docker log command. For example:
docker logs my-dse
Head over to the DataStax docs and DataStax Academy for advanced documentation including
The following information was extracted from the containerfile and other sources.
| Summary | The best distribution of Apache Cassandra™ with integrated Search, Analytics, and Graph capabilities |
| Description | The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly. |
| Provider | DataStax Inc. |
| Maintainer | DataStax, Inc <info@datastax.com> |
The following information was extracted from the containerfile and other sources.
| Repository name | dse-server |
| Image version | 7.8 |
| Architecture | amd64 |
| Exposed ports | ["10000/tcp" "4040/tcp" "8983/tcp" "7081/tcp" "7080/tcp" "7077/tcp" "9103/tcp" "8090/tcp" "5599/tcp" "5598/tcp" "9042/tcp" "18080/tcp" "8182/tcp" "9999/tcp" "8984/tcp" "7199/tcp" "9160/tcp" "7001/tcp" "7000/tcp" "8609/tcp"] |
| User | dse:root |
| Working directory | DSE_/opt/dse |
Use the following instructions to get images from a Red Hat container registry using registry service account tokens. You will need to create a registry service account to use prior to completing any of the following tasks.
First, you will need to add a reference to the appropriate secret and repository to your Kubernetes pod configuration via an imagePullSecrets field.
Then, use the following from the command line or from the OpenShift Dashboard GUI interface.
Use the following command(s) from a system with podman installed
Use the following command(s) from a system with docker service installed and running
Use the following instructions to get images from a Red Hat container registry using your Red Hat login.
For best practices, it is recommended to use registry tokens when pulling content for OpenShift deployments.
Use the following command(s) from a system with podman installed
Use the following command(s) from a system with docker service installed and running