title: nvidia-smi executable file not found
body: <p>I have went through 3 different issues in the <a href="https://github.com/NVIDIA/nvidia-docker" rel="nofollow noreferrer">nvidia-docker repo</a>  about this exact problem but actually couldn't figure out what's wrong.</p>
  
  <p>I'm a heavy docker user but I don't understand much of the terminology and solution used in those issues.</p>
  
  <p>When I run <code>nvidia-smi</code> as sudo or not, everything works great and I get the standard output.
  My nvidia-docker-plugin is up and running, and I get these messages when I run <code>nvidia-docker run --rm nvidia/cuda nvidia-smi</code>:</p>
  
  <blockquote>
    <p>nvidia-docker-plugin | 2017/11/04 09:14:18 Received mount request for volume 'nvidia_driver_387.22'
    Blockquote
    nvidia-docker-plugin | 2017/11/04 09:14:18 Received unmount request for volume 'nvidia_driver_387.22'</p>
  </blockquote>
  
  <p>I also tried to run the <code>deepo</code> repository, can't get it to work as all my containers exit upon starting, and the <code>nvidia-docker run --rm nvidia/cuda nvidia-smi</code> outputs the error:</p>
  
  <blockquote>
    <p>container_linux.go:247: starting container process caused "exec: \"nvidia-smi\": executable file not found in $PATH"
    /usr/bin/docker-current: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "exec: \"nvidia-smi\": executable file not found in $PATH".</p>
  </blockquote>
  
  <p>What am I doing wrong?</p>
  
  <p>I run Fedora 26, if it makes any difference</p>