Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check nvidia-docker version?

Tags:

I have tried nvidia-docker --version, but it seems just showing docker's version.
After some investigation of official documents, I could not find any information about this.

How to check nvidia-docker 's version?

like image 973
keisuke Avatar asked Jan 23 '17 09:01

keisuke


People also ask

How do I check nvidia container version?

Run docker version to determine the installed version. Run nvidia-docker version and check for NVIDIA Docker version 2.0 or later. Run nvidia-docker version and check for NVIDIA Docker version 1. x.

What is nvidia Docker command?

nvidia-docker is essentially a wrapper around the docker command that transparently provisions a container with the necessary components to execute code on the GPU. It is only absolutely necessary when using nvidia-docker run to execute a container that uses GPUs.


2 Answers

It's better to use docker version, it gives you more details. This command works for nvidia-docker too, we add a single line on top of the output.

$ nvidia-docker version
NVIDIA Docker: 1.0.0

Client:
 Version:      1.13.0
 API version:  1.25
 Go version:   go1.7.3
 Git commit:   49bf474
 Built:        Tue Jan 17 09:58:26 2017
 OS/Arch:      linux/amd64

Server:
 Version:      1.13.0
 API version:  1.25 (minimum version 1.12)
 Go version:   go1.7.3
 Git commit:   49bf474
 Built:        Tue Jan 17 09:58:26 2017
 OS/Arch:      linux/amd64
 Experimental: false
like image 200
flx42 Avatar answered Sep 18 '22 15:09

flx42


I found an answer (on Ubuntu):

dpkg -l | grep nvidia-docker
like image 31
keisuke Avatar answered Sep 19 '22 15:09

keisuke