docker 常见错误解决方法

允我心安 提交于 2019-12-19 16:42:57

常见错误
nvidia-docker run -it -v 启动nvidia docker出现“legacy plugin: plugin not found”
详细错误

/usr/bin/docker-current: Error response from daemon: create nvidia_driver_390.46: create nvidia_driver_390.46: Error looking up volume plugin nvidia-docker: legacy plugin: plugin not found.
See '/usr/bin/docker-current run --help'.

解决办法

nvidia-docker可能没有启动,如

执行命令,systemctl status nvidia-docker,是否会出现下面的log

nvidia-docker.service - NVIDIA Docker plugin
   Loaded: loaded (/usr/lib/systemd/system/nvidia-docker.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
     Docs: https://github.com/NVIDIA/nvidia-docker/wiki
执行systemctl start nvidia-docker启动服务即可。

nvidia-docker run -it出现VolumeDriver.Create: internal error

详细错误

/usr/bin/docker-current: Error response from daemon: create nvidia_driver_390.46: VolumeDriver.Create: internal error, check logs for details.
See '/usr/bin/docker-current run --help'.

解决办法

nvidia-docker volume create nvidia_driver_390.46

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!