Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 확장자
- i18n
- mariadb
- jQuery
- RabbitMQ
- Eclipse
- Python
- Selectbox
- 한글 깨짐
- ubuntu
- Postfix
- docker
- TPL
- TextBox
- yum
- centos
- random
- 부모창
- MySQL
- 천단위
- smarty
- Oracle
- JavaScript
- 문자열자르기
- 일괄변경
- replace
- php
- install
- SVN
Archives
- Today
- Total
wilson's story
Ubuntu20.04 - docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]]. 에러 본문
Linux
Ubuntu20.04 - docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]]. 에러
wilson 2022. 2. 11. 13:04반응형
GPU가 필요한 Docker 를 실행 하면 에러가 나는경우
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
해결 방법 :
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add -
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list
sudo apt-get update && sudo apt-get install -y nvidia-container-toolkit
sudo systemctl restart docker
반응형