From a8e2aaf7d17227c51f4959c1d3b3ec8fec0e80af Mon Sep 17 00:00:00 2001 From: sensinsane <34210817+sensinsane@users.noreply.github.com> Date: Mon, 16 Oct 2023 10:30:15 +0200 Subject: [PATCH] docs: combine docker run command into a single line for ease of running in non-linux shell (e.g windows powershell) (#563) * chore: Added Powershell compat * fix: docker.mdx Fix of my previous approach * fix: docker.mdx this time, i swear * Fixed Powershell instruction (again), added command to non-cuda tab * Update docker.mdx * Update docker.mdx * Update docker.mdx --------- Co-authored-by: Meng Zhang --- website/docs/installation/docker.mdx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/website/docs/installation/docker.mdx b/website/docs/installation/docker.mdx index b0737263605..31c78b034b9 100644 --- a/website/docs/installation/docker.mdx +++ b/website/docs/installation/docker.mdx @@ -13,19 +13,14 @@ import TabItem from '@theme/TabItem'; ```bash title="run.sh" - docker run -it \ - -p 8080:8080 -v $HOME/.tabby:/data \ - tabbyml/tabby serve --model TabbyML/StarCoder-1B + docker run -it -p 8080:8080 -v $HOME/.tabby:/data tabbyml/tabby serve --model TabbyML/StarCoder-1B ``` ```bash title="run.sh" - docker run -it \ - --gpus all -p 8080:8080 -v $HOME/.tabby:/data \ - tabbyml/tabby \ - serve --model TabbyML/StarCoder-1B --device cuda + docker run -it --gpus all -p 8080:8080 -v $HOME/.tabby:/data tabbyml/tabby serve --model TabbyML/StarCoder-1B --device cuda ```