Outdated Version

You are viewing an older version of this section. View current production version.

Introduction min read


Info

Using Docker to deploy SingleStore via cluster-in-a-box is not supported on a Mac with an Apple silicon processor.

The easiest way to demonstrate how to use MemSQL on any major operating system is through a pre-configured Docker image. The memsql/cluster-in-a-box container is available for free and allows users to easily run a simple single-host MemSQL cluster. It also includes SingleStore DB Studio, our cluster monitoring and management tool to easily monitor, debug and interact with your MemSQL cluster.

If you are running Windows or macOS, using the memsql/cluster-in-a-box container allows you to easily try out MemSQL on your local machine.

Info

Running MemSQL in a Docker container as described below is for prototyping and functional testing purposes only! If you wish to test out MemSQL for production deployments, see the SingleStore DB Tools-based deployment guide instead.

By downloading the memsql/cluster-in-a-box image, you agree to the MemSQL terms of service. If you do not have a paid Enterprise license, you may obtain help from other community members at the MemSQL Forums.

Before You Begin

Install Docker

For newer macOS and Windows 10 machines, Install Docker Community Edition (CE). For users running older versions of Windows or macOS, install Docker Toolbox instead.

Configure Docker

Make sure Docker is running. The recommended configuration is at least 4 cores and 4GB of RAM on your host machine. For macOS users, you can enable this in the Advanced tab located under the Preferences menu item. For Windows users, this tab is located under Settings.

Get a License key

You must have a License key copied from the MemSQL Customer Portal. You can easily create a free license for a cluster with up to four license units or request an Enterprise licence trial key for larger clusters. Because this guide shows you how to spin up a Docker container for testing purposes, you will only need a free license key to continue.

Info

For Windows users, the examples in this guide assume you are running them in a PowerShell window.