DataStax Docker Quickstart

Get started with running Hyper-Converged Database (HCD), DataStax Enterprise (DSE) (DSE), Data API, DSE OpsCenter, or DataStax Studio on Docker.

Use DataStax Docker images to create containers for production and non-production environments.

Prerequisites

  1. Download and install Docker from the Docker website.

  2. Download the DataStax Docker images from Docker Hub. You can also use the docker pull command to download the images. For example, to download the DSE 6.8.0 image:

    docker pull cr.dtsx.io/datastax/dse-server:6.8.50

Quick start examples

Create a HCD container with Data API

The Data API is the newest way to interact with Hyper-Converged Database and is available as its own image. A docker-compose file is available to run HCD with the Data API. See the Data API github repository for more information.

Create a DSE 6.9 container with Data API

See the same instructions for using a docker-compose file to run DSE with the Data API as the HCD example above.

Create a DSE database container

docker run -e DS_LICENSE=accept --name my-dse \
-d cr.dtsx.io/datastax/dse-server:6.8.50

Create a DSE container with Analytics, Search, and Graph enabled

docker run -e DS_LICENSE=accept --name my-dse -d cr.dtsx.io/datastax/dse-server:6.8.50 -g -k -s

Create a DSE OpsCenter container

docker run -e DS_LICENSE=accept -p 8888:8888 --name my-opscenter \
-d datastax/dse-opscenter

Create a DataStax Studio container

docker run -e DS_LICENSE=accept -p 9091:9091 --link my-dse --name my-studio \
-d datastax/dse-studio

Learn more

To get help with DataStax Docker images:

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