title: Is there a way to use conda to install libraries in a Docker image?
body: <p>I'm trying to install some libraries (specifically pytorch) in my docker image.  I have a Dockerfile that installs anaconda properly, but now I'd like to use conda to install a few other things in the image.  Is there a way to do this?  I've tried </p>
  
  <p>RUN /opt/anaconda/bin/conda install -y pytorch torchvision</p>
  
  <p>And anaconda is installed in the right location.  Am I doing this the right way?</p>