title: How to run local Docker Image
body: <p>I have an image that I want to run on my local machine. I took this image from my friend and not from docker-hub or any repository. The file shared is in ".img" format.</p>
  
  <p>I am able to import this image on docker but unable to run.</p>
  
  <p>What I did:</p>
  
  <ol>
  <li>Compress the image file from ".img" format to ".tar.gz" format so that the docker image can be imported. I used 7-zip tool to convert this.</li>
  <li>From my local I imported the docker image using this new file(.tar.gz)&lt;</li>
  <li>Trying to run this imported image but fails.</li>
  </ol>
  
  <p>Commands Executed:</p>
  
  <pre><code>PS C:\Users\C61464&gt; docker import .\Desktop\regchange.tar.gz
  sha256:a0008215897dd1a7db205c191edd0892f484d230d8925fd09e79d8878afa2743
  PS C:\Users\C61464&gt; docker images
  REPOSITORY          TAG                 IMAGE ID            CREATED             
  SIZE
  &lt;none&gt;              &lt;none&gt;              7fdbbdcc59c4        2 minutes ago       1.05GB
  PS C:\Users\C61464&gt; docker tag 7fdbbdcc59c4 bwise:version1.0
  PS C:\Users\C61464&gt; docker images
  REPOSITORY          TAG                 IMAGE ID            CREATED             
  SIZE
  bwise               version1.0          7fdbbdcc59c4        3 minutes ago       1.05GB
  PS C:\Users\C61464&gt; docker run -p 8888:80 bwise:version1.0
  C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: No command specified.
  See 'C:\Program Files\Docker\Docker\Resources\bin\docker.exe run --help'.
  </code></pre>
  
  <p>I searched a lot for this error and found that for running we need to specify the path used while creating the image(In Dockerfile) but I am not sure as I am new to docker. Am I doing something wrong or I need to have the docker file to run this image?</p>