mirror of https://github.com/docker/docs.git
Merge pull request #12406 from pneumoman/patch-1
Update resource_constraints.md
This commit is contained in:
commit
fc32f5721a
|
@ -323,7 +323,7 @@ $ docker run -it --rm --gpus device=GPU-3a23c669-1f69-c64e-cf85-44e9b07e7a2a ubu
|
|||
Exposes that specific GPU.
|
||||
|
||||
```bash
|
||||
$ docker run -it --rm --gpus device=0,2 ubuntu nvidia-smi
|
||||
$ docker run -it --rm --gpus '"device=0,2"' ubuntu nvidia-smi
|
||||
```
|
||||
|
||||
Exposes the first and third GPUs.
|
||||
|
|
Loading…
Reference in New Issue