도커 컨테이너를 실행할 때 나타나는 에러
(base) hoon@hoon-Z690-GAMING-X-DDR4:~$ docker start humanparse
Error response from daemon: could not select device driver "" with capabilities: [[gpu]]
컨테이너를 생성할 때 --gpus 옵션을 사용하면서 생성하게 되면 이런 에러가 발생
$ docker run -it --gpus all --name="humanparse" -p 8000:8000 howsfit:cuda10.0
$ 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