Skip to content

Commit

Permalink
Merge pull request docker#3558 from gqqnbig/patch-1
Browse files Browse the repository at this point in the history
Fix wrong docker run command
  • Loading branch information
thaJeztah authored Dec 21, 2023
2 parents dd3ba73 + 90a1887 commit 771bc0a
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 771bc0a

Please sign in to comment.