Public Repository

Last pushed: 4 months ago
Short Description
The official docker image for testing MemSQL + MemSQL Ops (cluster-in-a-box).
Full Description

MemSQL Official Docker Image

The official docker image for testing MemSQL + MemSQL Ops (cluster-in-a-box).

Check out the tutorial:
http://docs.memsql.com/docs/quick-start-with-docker/

Example usage

# Pull the image
docker pull memsql/quickstart


# Verify your machine satisfies our minimum requirements
docker run --rm memsql/quickstart check-system


# Spin up a MemSQL cluster on your machine
docker run -d -p 3306:3306 -p 9000:9000 --name=memsql memsql/quickstart


# Run a quick benchmark against MemSQL
docker run --rm -it --link=memsql:memsql memsql/quickstart simple-benchmark


# Open a MemSQL command line shell
docker run --rm -it --link=memsql:memsql memsql/quickstart memsql-shell


# Stop and remove the container
docker stop memsql && docker rm -v memsql
Docker Pull Command
Owner
memsql

Comments (3)
guhuaping
a month ago

per prescription above, run the docker get follow error,

docker run -it -p 3306:3306 -p 9000:9000 --name memsql memsql/quickstart
Starting MemSQL Ops...
[WARNING] To avoid memory errors increase vm.max_map_count: sysctl -w vm.max_map_count=1000000000
[WARNING] To avoid network timeouts, increase net.core.somaxconn: sysctl -w net.core.somaxconn=1024
Traceback (most recent call last):
File "/usr/local/updated-openssl/lib/python3.4/site-packages/cx_Freeze/initscripts/Console.py", line 27, in <module>
File "/memsql_platform/bin/memsql-ops", line 18, in <module>
File "/memsql_platform/memsql_platform/agent/cli/client.py", line 213, in parse
File "/memsql_platform/memsql_platform/agent/cli/command_start.py", line 172, in run
File "/memsql_platform/memsql_platform/agent/daemon/manage.py", line 161, in start
File "/memsql_platform/memsql_platform/util/checks.py", line 116, in check_nfs
File "/memsql_platform/memsql_platform/util/apsw_storage.py", line 51, in init
File "/memsql_platform/memsql_platform/util/apsw_storage.py", line 59, in setup
apsw.CantOpenError: CantOpenError: unable to open database file

docker -v
Docker version 17.06.0-ce, build 02c1d87

carlsverre
a year ago

Thanks for the comment @krystism - sorry for the late reply we didn't get notified of this. I fixed the link to the docs, should work now.

krystism
a year ago

It seems that the docker setup doc can't be found with a 404 ERROR.