Reputation: 4373
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.
Upvotes: 11
Views: 9875
Reputation: 1325
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.
Upvotes: 9