Merge pull request #3558 from gqqnbig/patch-1

Fix wrong docker run command
This commit is contained in:
Sebastiaan van Stijn 2023-12-21 01:07:58 +01:00 committed by GitHub
commit 771bc0afce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)