Creating a DataStax Enterprise container

Steps to create a basic DSE database node.

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.

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

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