title: Possible to retrieve file from Docker image that is not a container?
body: <p>I have created an application that uses docker. I have built an image like so: <code>docker build -t myapp .</code></p>
  
  <p>While in my image (using <code>docker run -it myapp /bin/bash</code> to access), a image file is created.</p>
  
  <p>I would like to obtain that file to view on my local as I have found out that viewing images on Docker is a complex procedure.</p>
  
  <p>I tried the following: <code>docker cp myapp:/result.png ./</code> based on suggestions seen on the webs, but I get the following error: <code>Error response from daemon: No such container: myapp</code></p>