Install DSE 6.9 on Docker
You can use DataStax-provided Docker images in both test and production environments. Develop, test, and demonstrate Gen AI and other applications. Create a DSE server, use Mission Control or DSE OpsCenter to manage operations, and build 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.
-
Download the DataStax Docker images that are hosted on Docker Hub. Start with DSE 6.9, and then download its components.
docker run -e DS_LICENSE=accept -p 9042:9042 \ cr.dtsx.io/datastax/dse-server:6.9.0The
-poption of the Docker run command ensures that thecqlshport is exported and available from outside the container. The database is up and running when the following message is visible in the output:Result
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! Establish a connection to it by using the Cassandra Query Language (CQL) shell cqlsh.
DSE with Data API
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.