title: Using GPU from a docker container?
body: <p>I'm searching for a way to use the GPU from inside a docker container.</p>
  
  <p>The container will execute arbitrary code so i don't want to use the privileged mode.</p>
  
  <p>Any tips? </p>
  
  <p>From previous research i understood that <code>run -v</code> and/or LXC <code>cgroup</code> was the way to go but i'm not sure how to pull that off exactly</p>