Installing DSE 6.9 on Docker

About DataStax-provided Docker images

Use DataStax-provided Docker images in non-production environments to learn DataStax Enterprise (DSE) and its components. Develop, test, and demonstrate Gen AI and other applications. Create a DSE server, a Mission Control instance or a DSE OpsCenter to manage operations, and a DataStax Studio container.

Get the full installation instructions in the DataStax Docker guide.

DataStax Docker images are hosted on Docker Hub.

Prerequisites

  • Your machine must have a running instance of a Docker container installed with Java runtime environment 11 and Python 3.

Install DSE 6.9

A simple command installs your downloaded Docker image.

  1. Download the DataStax Docker images that are hosted on Docker Hub. Start with DSE 6.9, and then download its components.

  • Terminal window command

  • Result

$ docker run -e DS_LICENSE=accept -p 9042:9042 \
     cr.dtsx.io/datastax/dse-server:6.9.0

The -p option of the Docker run command ensures that the cqlsh port is exported and available from outside the container. The database is up and running when the following message is visible in the output:

s

INFO  [main] YYYY-MM-DD 07:53:28,954 PipelineConfigurator.java:125 -
Starting listening for CQL clients on /0.0.0.0:9042 (unencrypted)...java:125 -

Connect to DSE

DSE 6.9 is running! xref:connecting:connect-with-cqlsh.adoc[Establish a connection to it by using the Cassandra Query Language (CQL) shell cqlsh.

A docker-compose file is available to run DSE 6.9 with the Data API and provides easy access for developers to get started. See the Data API github repository for more information.

DSE with Data API

A docker-compose file is available to run DSE with the Data API. See the Data API github repository for more information.

Learn more

Use DataStax Docker images to create DataStax Enterprise (DSE) server, DSE OpsCenter, and DataStax Studio containers in non-production environments.

See the DataStax Docker docs for information on downloading and using the DataStax images for Docker.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com