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 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. |
The DSE version with the tag latest changes with each release. To
avoid mixing DSE versions, DataStax recommends using a specific DSE version in the
docker run
command.
For example, use the following command to use DSE 6.0.10:
docker run datastax/dse-server:6.0.10
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