DataStax Docker Quickstart
Get started with running Hyper-Converged Database (HCD), DataStax Enterprise (DSE), Data API, DSE OpsCenter, or DataStax Studio on Docker.
Use DataStax Docker images to create containers for production and non-production environments.
Prerequisites
-
Download and install Docker CE/EE 17.03 or later. Supported platforms include Linux, macOS, and Windows.
-
Have a basic understanding of Docker images, containers, and compose scripts.
-
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:DSE_VERSION
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:DSE_VERSION
- 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:DSE_VERSION -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
For more examples and options, see Create and start Docker containers.
Next steps
Explore the DataStax Docker documentation for information about recommended settings, configuration options, and building your own Docker images.
For help, contact DataStax Support.