[Error (docker)]: response from daemon: Unknown runtime specified nvidia AND could not select device driver "" with capabilities: [[gpu]].
See original GitHub issueDocker Error
I am unable to troubleshoot this issue can you let me know what information could be helpful to help me ???
docker: Error response from daemon: Unknown runtime specified nvidia.
❯ REPO=ghcr.io/rapidsai/node
VERSIONS="21.12.00-runtime-node16.10.0-cudagl11.4.2-ubuntu20.04"
# Be sure to pass either the `--runtime=nvidia` or `--gpus` flag!
docker run --rm \
--runtime=nvidia \
-e "DISPLAY=$DISPLAY" \
-v "/etc/fonts:/etc/fonts:ro" \
-v "/tmp/.X11-unix:/tmp/.X11-unix:rw" \
-v "/usr/share/fonts:/usr/share/fonts:ro" \
-v "/usr/share/icons:/usr/share/icons:ro" \
$REPO:$VERSIONS-demo-amd64 \
npx @rapidsai/demo-graph
docker: Error response from daemon: Unknown runtime specified nvidia.
See 'docker run --help'.
❯ echo $DISPLAY
:0
docker: Error response from daemon: could not select device driver “” with capabilities: [[gpu]].
❯ REPO=ghcr.io/rapidsai/node
VERSIONS="21.12.00-runtime-node16.10.0-cuda11.4.2-ubuntu20.04"
# Be sure to pass either the `--runtime=nvidia` or `--gpus` flag!
docker run --rm --gpus=0 $REPO:$VERSIONS-cudf-amd64 \
-p "const {Series, DataFrame} = require('@rapidsai/cudf');\
new DataFrame({ a: Series.new([0, 1, 2]) }).toString()"
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (1 by maintainers)
Top Results From Across the Web
docker: Error response from daemon: could not select device ...
when I run docker run --gpus all nvidia/cuda:10.0-base nvidia-smi after the installation of the NVIDIA toolkit. The installation does not ...
Read more >could not select device driver "" with capabilities: [[gpu]].
However, when running “docker run --gpus all nvidia/cuda nvidia-smi”, I get the following error: “docker: Error response from daemon: could not ...
Read more >docker: Error response from daemon: could not select device ...
1 Answer 1 · $ sudo apt-get update · $ sudo apt-get install -y nvidia-docker2 · $ sudo systemctl restart docker · $...
Read more >Docker + GPUs | Note of Thi - dinhanhthi.com
ERROR ? # Error response from daemon: could not select device driver "" with capabilities: [[gpu]] # Solution: install nvidia-docker2.
Read more >nvidia/cuda - Docker Image
The CUDA Toolkit includes GPU-accelerated libraries, a compiler, development tools and the CUDA runtime. The CUDA container images provide an easy-to-use ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Please see my comment here about the error of
container error: cgroup subsystem devices not found: unknown
regarding the lack ofcgroupv2
support.@Luxcium not entirely sure what you’ve tried, but generally the 3 things you will need (in addition to the driver) are:
I know it’s possible to use GPUs in docker in RHEL, because we publish RHEL (Centos) images for the core RAPIDS libraries. Let me know if it still doesn’t work after installing the above. I don’t have a box with Centos right now, but I could put it on one of my spare machines to test if I need to.