• Glossary
  • Support
  • Downloads
  • DataStax Home
Get Live Help
Expand All
Collapse All

DataStax Docker Guide

    • Quickstart
    • Recommended settings
    • 6.8 Docker
      • Getting started with DataStax and Docker
      • Prerequisites
      • Creating and starting Docker containers
        • Creating a DataStax Enterprise container
        • Creating an OpsCenter container
        • Creating a Studio container
        • Docker run options
      • Managing the configuration
        • Using the DSE configuration volume
        • Using environment variables
        • Persisting data
        • Exposing public ports
        • Volumes and data directories
      • Attaching to a container and opening a command line
      • Using Docker compose for automated provisioning
      • Building custom Docker images
      • Getting help with Docker
      • Docker known issues
      • Licensing
    • 6.7 Docker
      • Getting started with DataStax and Docker
      • Prerequisites
      • Creating and starting Docker containers
        • Creating a DataStax Enterprise container
        • Creating an OpsCenter container
        • Creating a Studio container
        • Docker run options
      • Managing the configuration
        • Using the DSE configuration volume
        • Using environment variables
        • Persisting data
        • Exposing public ports
        • Volumes and data directories
      • Attaching to a container and opening a command line
      • Using Docker compose for automated provisioning
      • Building custom Docker images
      • Getting help with Docker
      • Docker known issues
      • Licensing
    • 6.0 Docker
      • Getting started with DataStax and Docker
      • Prerequisites
      • Creating and starting Docker containers
        • Creating a DataStax Enterprise container
        • Creating an OpsCenter container
        • Creating a Studio container
        • Docker run options
      • Managing the configuration
        • Using the DSE configuration volume
        • Using environment variables
        • Persisting data
        • Exposing public ports
        • Volumes and data directories
      • Attaching to a container and opening a command line
      • Using Docker compose for automated provisioning
      • Building custom Docker images
      • Getting help with Docker
      • Docker known issues
      • Licensing
    • 5.1 Docker
      • Getting started with DataStax and Docker
      • Prerequisites
      • Creating and starting Docker containers
        • Creating a DataStax Enterprise container
        • Creating an OpsCenter container
        • Creating a Studio container
        • Docker run options
      • Managing the configuration
        • Using the DSE configuration volume
        • Using environment variables
        • Persisting data
        • Exposing public ports
        • Volumes and data directories
      • Attaching to a container and opening a command line
      • Using Docker compose for automated provisioning
      • Building custom Docker images
      • Getting help with Docker
      • Docker known issues
      • Licensing
    • DataStax Docker Images
  • DataStax Docker Guide
  • 6.7 Docker
  • Creating and starting Docker containers
  • Creating a DataStax Enterprise container

Creating a DataStax Enterprise container

Create a DataStax Enterprise (DSE) server container. For a list of the most commonly used options, see Docker run options.

See the docker run command reference for a full list of options to run a command in a new container.

Enabling advanced functionality

By default, the DSE server image is configured as a transactional (database) node. To configure the node with DSE advanced functionality, add the corresponding option that enables the intended feature to the end of the docker run command.

Combine startup options to run more than one feature.

Option Description

-g

Enable and start DSE Graph.

-k

Enable and start DSE Analytics.

-s

Enable and start DSE Search.

Examples

Setting the DS_LICENSE environment variable signals your acceptance of the DataStax terms of service and is required for the software to start.

Create a DSE database container

docker run -e DS_LICENSE=accept --name my-dse -d datastax/dse-server

Create a DSE container with Graph enabled

docker run -e DS_LICENSE=accept --name my-dse -d datastax/dse-server -g

Create a DSE container with Analytics (Spark) enabled

docker run -e DS_LICENSE=accept --name my-dse -d datastax/dse-server -k

Create a DSE container with Search enabled

docker run -e DS_LICENSE=accept --name my-dse -d datastax/dse-server -s

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

docker run -e DS_LICENSE=accept --name my-dse -d datastax/dse-server -s -k -g
Creating and starting Docker containers Creating an OpsCenter container

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

© DataStax | Privacy policy | Terms of use

DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.

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.

landing_page landingpage