SingleStore DB

Start the SingleStore DB Cluster

Open a new terminal window in the same directory as the docker-compose.yaml file. This could be Powershell, a command prompt, or a regular terminal.

First, set the license key as an environment variable. Copy the license from in the Licenses tab, and create an environment variable in the terminal:

Command prompt:

set LICENSE_KEY=paste_license_key_here


$env:LICENSE_KEY = 'paste_license_key_here'

Mac/Linux/Git Bash:

export LICENSE_KEY=paste_license_key_here

Paste your actual license key in place of paste_license_key_here. It’s a very long string and probably ends with ==.

Next, type this in the shell:

docker-compose up

This tells Docker to pull or build all the images, start up all the containers in our docker-compose.yaml file, and stream the console output from each container to our terminal.

If you get an error starting the cluster, double-check that the license key is correct and that Docker is running. If you get an image pull failure, ensure your network connection is working as expected. To retry, type Ctrl-C in the terminal, then type:

docker-compose down
docker-compose up

Congratulations! You’ve launched a SingleStore DB cluster. Now it’s time to dive in and start using it.