0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

nvidia-dockerが「許可がありません」で動かない

Posted at

状況

  • CentOS7
  • 1年ぶりにPCを再起動してnvidia-dockerのプロセスを実行しようと思ったらエラーが出た.
$ nvidia-docker images
$ /usr/bin/nvidia-docker: 行 34: /usr/bin/docker: 許可がありません
$ /usr/bin/nvidia-docker: 行 34: /usr/bin/docker: 成功です

解決策

$ sudo semanage fcontext -a -t container_runtime_exec_t /usr/bin/nvidia-docker
$ sudo restorecon -v /usr/bin/nvidia-docker
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?