Note: If Docker is updated to 19.03 on a system which already has the nvidia-docker2
package installed, then the instructions for using the NVIDIA Container Runtime for
Docker can still be used.
docker run --gpus
•
$ docker run --gpus all ...
•
$ docker run --gpus 2 ...
•
$ docker run --gpus "device=1,2" ...
$ docker run --gpus "device=UUID-ABCDEF,1" ...
nvidia-docker2