title: Why does the pytorch Docker image not come with torch?
body: <p>I am trying to build a docker container that will enable me to run my code that requires the python torch module. </p>
  
  <p>I have chosen to start my image from the <code>pytorch/pytorch:latest</code> base image and add a few required modules manually. The build, push, and pull to the remote server were successful (no error messages at least).</p>
  
  <p>Currently my Dockerfile looks like this:</p>
  
  <pre><code>FROM pytorch/pytorch:latest
  
  RUN apt-get update \
       &amp;&amp; apt-get install -y \
          libgl1-mesa-glx \
          libx11-xcb1 \
       &amp;&amp; apt-get clean all \
       &amp;&amp; rm -r /var/lib/apt/lists/*
  
  RUN /opt/conda/bin/conda install --yes \
      astropy \
      matplotlib \
      pandas \
      glob2 \
      PIL \
      scikit-learn \
      scikit-image \
      numpy
  </code></pre>
  
  <p>However, when running my python script within the container, I get <code>ImportError: No module named torch</code>. This strikes me as rather weird, as it leads me to assume that the pytorch base image does not include the torch module...?</p>
  
  <p>I have nevertheless tried to add <code>torch</code> to the list of modules to install in the Dockerfile, but then the initial build will already fail with the error message <code>PackagesNotFoundError: The following packages are not available from current channels:  - torch</code>. Following the advice given <a href="https://stackoverflow.com/questions/48493505/packagesnotfounderror-the-following-packages-are-not-available-from-current-cha">here</a> did unfortunately not help me.</p>
  
  <p>I'd appreciate any explanation as to why the torch module could not be found within the built container, and of course any help to fix this problem! Thanks!</p>