Skip to content

Commit

Permalink
Fix wrong docker run command
Browse files Browse the repository at this point in the history
It forgot the image name ubuntu

Signed-off-by: QQ喵 <[email protected]>
  • Loading branch information
gqqnbig authored and thaJeztah committed Dec 20, 2023
1 parent dd3ba73 commit 90a1887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/commandline/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

### <a name="restart"></a> Restart policies (--restart)
Expand Down

0 comments on commit 90a1887

Please sign in to comment.