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)