From 6eae3dc97689ca840ef65bbf50022dd84ae5e7d3 Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Tue, 29 Aug 2023 10:36:05 +0800 Subject: [PATCH] docs: add docker run command in README (#374) * docs: add docker run command in README * Update README.md --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b8e3297..1befde4 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,15 @@ Tabby is a self-hosted AI coding assistant, offering an open-source and on-premi ## 👋 Get Started -See https://tabbyml.github.io/tabby +The easiest way to start a Tabby server is by using the following Docker command: + +```bash +docker run -it \ + --gpus all -p 8080:8080 -v $HOME/.tabby:/data \ + tabbyml/tabby \ + serve --model TabbyML/SantaCoder-1B --device cuda +``` +For additional options (e.g inference type, parallelism), please refer to the documentation at https://tabbyml.github.io/tabby. ## 🌟 Star History