diff --git a/README.md b/README.md index 71f9beb8de..53d98d5f59 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,24 @@ Read the [Roadmap](./ROADMAP.md). ## Quick start + +#### Run tidb with docker + +You can quickly test tidb with docker, the source repository contains Dockerfile, +You can build docker and then run a docker container with tidb. +To install docker on your system, you can read the document on https://docs.docker.com/ + + +``` +git clone https://github.com/pingcap/tidb.git +cd tidb +docker build --rm -t tidb-server . +docker images +docker run -d -p 4000:4000 --name tidb-server tidb-server +``` +Then you can connect 127.0.0.1:4000 by mysql client or telnet. +The tidb is ready for serving. + #### __Pre-requirement__ Go environment. Currently a 64-bit version of go >= 1.5 is required.