From 90a1887d3c0b7186b26f91c75929849d51e15bed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?QQ=E5=96=B5?= Date: Thu, 14 Apr 2022 22:47:14 +0800 Subject: [PATCH] Fix wrong docker run command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It forgot the image name ubuntu Signed-off-by: QQ喵 --- docs/reference/commandline/run.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/commandline/run.md b/docs/reference/commandline/run.md index 8ae0c6f7a6..8d062932a8 100644 --- a/docs/reference/commandline/run.md +++ b/docs/reference/commandline/run.md @@ -1036,7 +1036,7 @@ $ docker run -it --rm --gpus device=GPU-3a23c669-1f69-c64e-cf85-44e9b07e7a2a ubu The example below exposes the first and third GPUs. ```console -$ docker run -it --rm --gpus '"device=0,2"' nvidia-smi +$ docker run -it --rm --gpus '"device=0,2"' ubuntu nvidia-smi ``` ### Restart policies (--restart)