Start the SingleStore 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 as an environment variable. Copy the license from the Cloud Portal in the Licenses tab, and create an environment variable in the terminal:

Command prompt:

set LICENSE=paste_license_here

Powershell:

$env:LICENSE = 'paste_license_here'

Mac/Linux/Git Bash:

export LICENSE=paste_license_here

Paste your actual license in place of paste_license_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 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 cluster. Now it’s time to dive in and start using it.

Last modified: July 5, 2023

Was this article helpful?