{"action":"created","issue":{"url":"https://api.github.com/repos/NVIDIA/nvidia-docker/issues/657","repository_url":"https://api.github.com/repos/NVIDIA/nvidia-docker","labels_url":"https://api.github.com/repos/NVIDIA/nvidia-docker/issues/657/labels{/name}","comments_url":"https://api.github.com/repos/NVIDIA/nvidia-docker/issues/657/comments","events_url":"https://api.github.com/repos/NVIDIA/nvidia-docker/issues/657/events","html_url":"https://github.com/NVIDIA/nvidia-docker/issues/657","id":303643395,"node_id":"MDU6SXNzdWUzMDM2NDMzOTU=","number":657,"title":"nvidia-docker on opensuse ","user":{"login":"MohamedAmineOuali","id":20454717,"node_id":"MDQ6VXNlcjIwNDU0NzE3","avatar_url":"https://avatars3.githubusercontent.com/u/20454717?v=4","gravatar_id":"","url":"https://api.github.com/users/MohamedAmineOuali","html_url":"https://github.com/MohamedAmineOuali","followers_url":"https://api.github.com/users/MohamedAmineOuali/followers","following_url":"https://api.github.com/users/MohamedAmineOuali/following{/other_user}","gists_url":"https://api.github.com/users/MohamedAmineOuali/gists{/gist_id}","starred_url":"https://api.github.com/users/MohamedAmineOuali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MohamedAmineOuali/subscriptions","organizations_url":"https://api.github.com/users/MohamedAmineOuali/orgs","repos_url":"https://api.github.com/users/MohamedAmineOuali/repos","events_url":"https://api.github.com/users/MohamedAmineOuali/events{/privacy}","received_events_url":"https://api.github.com/users/MohamedAmineOuali/received_events","type":"User","site_admin":false},"labels":[{"id":282257803,"node_id":"MDU6TGFiZWwyODIyNTc4MDM=","url":"https://api.github.com/repos/NVIDIA/nvidia-docker/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":858439481,"node_id":"MDU6TGFiZWw4NTg0Mzk0ODE=","url":"https://api.github.com/repos/NVIDIA/nvidia-docker/labels/packaging","name":"packaging","color":"e99695","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2018-03-08T21:44:55Z","updated_at":"2018-08-18T05:12:24Z","closed_at":null,"author_association":"NONE","body":"hello,\r\n\r\nI have tried to install nvidia-docker on opensuse leap 42.3 \r\n I have used centos package:\r\n- nvidia-docker-2.0.2\r\n- nvidia-container-runtime-1.2.1-1\r\n- libnvidia-container_1.0.0\r\n- nvidia-container-runtime-hook-1.2.1-1\r\n\r\nAfter solving many problem in the installation I have finally managed to set all the packages but when I want to test the configuration \r\n\r\n> nvidia-docker run --rm nvidia/cuda nvidia-smi\r\n\r\n  I get \r\n```\r\ncontainer_linux.go:265: starting container process caused \"process_linux.go:368: container init caused \\\"process_linux.go:351: running prestart hook 1 caused \\\\\\\"error running hook: exit status 1, stdout: , stderr: exec command: [/usr/local/bin/nvidia-container-cli --load-kmods configure --ldconfig=@/sbin/ldconfig --device=all --compute --utility --require=cuda>=9.0 --pid=6568 /var/lib/docker/btrfs/subvolumes/26850be101a4f175ec4d476f1a056526cd9202da1c4c7dfaaef32b7135ce82fb]\\\\\\\\nnvidia-container-cli: initialization error: cuda error: no cuda-capable device is detected\\\\\\\\n\\\\\\\"\\\"\"\r\ndocker: Error response from daemon: oci runtime error: container_linux.go:265: starting container process caused \"process_linux.go:368: container init caused \\\"process_linux.go:351: running prestart hook 1 caused \\\\\\\"error running hook: exit status 1, stdout: , stderr: exec command: [/usr/local/bin/nvidia-container-cli --load-kmods configure --ldconfig=@/sbin/ldconfig --device=all --compute --utility --require=cuda>=9.0 --pid=6568 /var/lib/docker/btrfs/subvolumes/26850be101a4f175ec4d476f1a056526cd9202da1c4c7dfaaef32b7135ce82fb]\\\\\\\\nnvidia-container-cli: initialization error: cuda error: no cuda-capable device is detected\\\\\\\\n\\\\\\\"\\\"\".\r\n```\r\nI think that the container cannot recognize my gpu and I don't know why ?\r\n when I run \r\n\r\n> nvidia-smi\r\n\r\nI get this output on my host \r\n```\r\n+-----------------------------------------------------------------------------+\r\n| NVIDIA-SMI 387.26                 Driver Version: 387.26                    |\r\n|-------------------------------+----------------------+----------------------+\r\n| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |\r\n| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |\r\n|===============================+======================+======================|\r\n|   0  GeForce GTX 760     On   | 00000000:01:00.0 N/A |                  N/A |\r\n| 34%   27C    P8    N/A /  N/A |    283MiB /  4030MiB |     N/A      Default |\r\n+-------------------------------+----------------------+----------------------+\r\n                                                                               \r\n+-----------------------------------------------------------------------------+\r\n| Processes:                                                       GPU Memory |\r\n|  GPU       PID   Type   Process name                             Usage      |\r\n|=============================================================================|\r\n|    0                    Not Supported                                       |\r\n+-----------------------------------------------------------------------------+\r\n```\r\n\r\nCan you please help me?\r\n\r\nthank you."},"comment":{"url":"https://api.github.com/repos/NVIDIA/nvidia-docker/issues/comments/414033029","html_url":"https://github.com/NVIDIA/nvidia-docker/issues/657#issuecomment-414033029","issue_url":"https://api.github.com/repos/NVIDIA/nvidia-docker/issues/657","id":414033029,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDAzMzAyOQ==","user":{"login":"danielorf","id":10256394,"node_id":"MDQ6VXNlcjEwMjU2Mzk0","avatar_url":"https://avatars3.githubusercontent.com/u/10256394?v=4","gravatar_id":"","url":"https://api.github.com/users/danielorf","html_url":"https://github.com/danielorf","followers_url":"https://api.github.com/users/danielorf/followers","following_url":"https://api.github.com/users/danielorf/following{/other_user}","gists_url":"https://api.github.com/users/danielorf/gists{/gist_id}","starred_url":"https://api.github.com/users/danielorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielorf/subscriptions","organizations_url":"https://api.github.com/users/danielorf/orgs","repos_url":"https://api.github.com/users/danielorf/repos","events_url":"https://api.github.com/users/danielorf/events{/privacy}","received_events_url":"https://api.github.com/users/danielorf/received_events","type":"User","site_admin":false},"created_at":"2018-08-18T05:12:24Z","updated_at":"2018-08-18T05:12:24Z","author_association":"NONE","body":"@torhans I ran into the same problem today on Leap42.3.  Thanks for the fix - I can confirm it also works on 42.3."}}
{"actor":{"display_login":"danielorf"}}