11

Is there a difference between:

nvidia-docker run

and

docker run --runtime=nvidia ?

In the official docs they use the latter but I've seen the former in other tutorials online.

Rutger Hofste
  • 4,073
  • 3
  • 33
  • 44

1 Answers1

9

docker run --runtime=nvidia is only available since nvidia-docker v2.

Both commands are equivalent with nvidia-docker v2, the former is a script provided for backward compatibility with nvidia-docker v1.

3XX0
  • 1,315
  • 1
  • 13
  • 25