nvidia-docker2 on Ubuntu 14.04












0














I've installed nvidia-docker2 on my Ubuntu 14.04 server.




  • nvidia-smi 375.66

  • CUDA- 8.0


$ docker --version 
Docker version 18.03.1-ce, build 9ee9f40


I'm a newbie on docker and nvidia-docker, but I need to use them to participate in a competition.



Thus, I followed this 'Quick start' guide.



However,



 $ docker run --runtime=nvidia --rm nvidia/cuda nvidia-smi


shows



docker: Error response from daemon: OCI runtime create failed:
container_linux.go:348: starting container process caused
"process_linux.go:402: container init caused
"process_linux.go:385: running prestart hook 1 caused
"error running hook: exit status 1, stdout:
stderr: exec command: [/usr/bin/nvidia-container-cli --load-kmods configure --ldconfig=@/sbin/ldconfig.real --device=all --compute --utility --require=cuda>=9.0 --pid=7324 /var/lib/docker/aufs/mnt/ab0e6a8fbf113c5386cfaaeebdc7ef0dc1b968aea26bb588e7d7ee51d5abbdc3]
nnvidia-container-cli: requirement error: unsatisfied condition: cuda >= 9.0\\n\""": unknown.


This error also occurred when I ran the submission code provided from the competition.



There is cuda >= 9.0 needed but as far as I know, the prerequisites for nvidia-docker2 do not include cuda >= 9.0. How can I solve this problem?










share|improve this question





























    0














    I've installed nvidia-docker2 on my Ubuntu 14.04 server.




    • nvidia-smi 375.66

    • CUDA- 8.0


    $ docker --version 
    Docker version 18.03.1-ce, build 9ee9f40


    I'm a newbie on docker and nvidia-docker, but I need to use them to participate in a competition.



    Thus, I followed this 'Quick start' guide.



    However,



     $ docker run --runtime=nvidia --rm nvidia/cuda nvidia-smi


    shows



    docker: Error response from daemon: OCI runtime create failed:
    container_linux.go:348: starting container process caused
    "process_linux.go:402: container init caused
    "process_linux.go:385: running prestart hook 1 caused
    "error running hook: exit status 1, stdout:
    stderr: exec command: [/usr/bin/nvidia-container-cli --load-kmods configure --ldconfig=@/sbin/ldconfig.real --device=all --compute --utility --require=cuda>=9.0 --pid=7324 /var/lib/docker/aufs/mnt/ab0e6a8fbf113c5386cfaaeebdc7ef0dc1b968aea26bb588e7d7ee51d5abbdc3]
    nnvidia-container-cli: requirement error: unsatisfied condition: cuda >= 9.0\\n\""": unknown.


    This error also occurred when I ran the submission code provided from the competition.



    There is cuda >= 9.0 needed but as far as I know, the prerequisites for nvidia-docker2 do not include cuda >= 9.0. How can I solve this problem?










    share|improve this question



























      0












      0








      0







      I've installed nvidia-docker2 on my Ubuntu 14.04 server.




      • nvidia-smi 375.66

      • CUDA- 8.0


      $ docker --version 
      Docker version 18.03.1-ce, build 9ee9f40


      I'm a newbie on docker and nvidia-docker, but I need to use them to participate in a competition.



      Thus, I followed this 'Quick start' guide.



      However,



       $ docker run --runtime=nvidia --rm nvidia/cuda nvidia-smi


      shows



      docker: Error response from daemon: OCI runtime create failed:
      container_linux.go:348: starting container process caused
      "process_linux.go:402: container init caused
      "process_linux.go:385: running prestart hook 1 caused
      "error running hook: exit status 1, stdout:
      stderr: exec command: [/usr/bin/nvidia-container-cli --load-kmods configure --ldconfig=@/sbin/ldconfig.real --device=all --compute --utility --require=cuda>=9.0 --pid=7324 /var/lib/docker/aufs/mnt/ab0e6a8fbf113c5386cfaaeebdc7ef0dc1b968aea26bb588e7d7ee51d5abbdc3]
      nnvidia-container-cli: requirement error: unsatisfied condition: cuda >= 9.0\\n\""": unknown.


      This error also occurred when I ran the submission code provided from the competition.



      There is cuda >= 9.0 needed but as far as I know, the prerequisites for nvidia-docker2 do not include cuda >= 9.0. How can I solve this problem?










      share|improve this question















      I've installed nvidia-docker2 on my Ubuntu 14.04 server.




      • nvidia-smi 375.66

      • CUDA- 8.0


      $ docker --version 
      Docker version 18.03.1-ce, build 9ee9f40


      I'm a newbie on docker and nvidia-docker, but I need to use them to participate in a competition.



      Thus, I followed this 'Quick start' guide.



      However,



       $ docker run --runtime=nvidia --rm nvidia/cuda nvidia-smi


      shows



      docker: Error response from daemon: OCI runtime create failed:
      container_linux.go:348: starting container process caused
      "process_linux.go:402: container init caused
      "process_linux.go:385: running prestart hook 1 caused
      "error running hook: exit status 1, stdout:
      stderr: exec command: [/usr/bin/nvidia-container-cli --load-kmods configure --ldconfig=@/sbin/ldconfig.real --device=all --compute --utility --require=cuda>=9.0 --pid=7324 /var/lib/docker/aufs/mnt/ab0e6a8fbf113c5386cfaaeebdc7ef0dc1b968aea26bb588e7d7ee51d5abbdc3]
      nnvidia-container-cli: requirement error: unsatisfied condition: cuda >= 9.0\\n\""": unknown.


      This error also occurred when I ran the submission code provided from the competition.



      There is cuda >= 9.0 needed but as far as I know, the prerequisites for nvidia-docker2 do not include cuda >= 9.0. How can I solve this problem?







      nvidia cuda docker






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 16 at 18:21









      Zanna

      50k13131238




      50k13131238










      asked Jul 10 at 7:29









      Mark Yoon

      235




      235



























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1053763%2fnvidia-docker2-on-ubuntu-14-04%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1053763%2fnvidia-docker2-on-ubuntu-14-04%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

          Eduardo VII do Reino Unido