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 |
---|---|
|
Enable and start DSE Graph. |
|
Enable and start DSE Analytics. |
|
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