title: Docker Container is not running
body: <p>Please help. When I want to go into a container is says</p>
  
  <p>Error response from daemon: Container 90599013c666d332ff6560ccde5053d9127e72042ecc3887550aef90fa1d1eac is not running</p>
  
  <p>My DockerFile:</p>
  
  <pre><code>FROM ubuntu:16.04
  
  MAINTAINER Anton Lapitski &lt;a.lapitski@godeltech.com&gt;
  
  RUN mkdir -p /usr/src/app
  
  WORKDIR /usr/src/app
  
  
  ADD ./ /usr/src/app
  
  EXPOSE 80
  
  ENTRYPOINT ["/bin/sh", "-c", "/usr/src/app/entry.sh"]
  </code></pre>
  
  <p>Starting script - start.sh:</p>
  
  <pre><code>sudo docker build -t starter .
  sudo docker run -t -v mounted-directory:/usr/src/app/mounted-directory -p 80:80 starter
  </code></pre>
  
  <p>entry.sh script:</p>
  
  <pre><code>echo "Hello World"
  ls -l
  pwd
  if mountpoint -q /mounted-directory 
  then
    echo "mounted"
  else
    echo "not mounted"
  fi
  </code></pre>
  
  <p>sudo docker ps -a gives:</p>
  
  <pre><code>CONTAINER ID   IMAGE  COMMAND CREATED STATUS   PORTS   NAMES
  90599013c666   starter "/bin/sh -c /usr/src…"   18 minutes ago      Exited (0) 18 minutes ago                       thirsty_wiles
  </code></pre>
  
  <p>And mosе important:</p>
  
  <pre><code>sudo docker exec -it 90599013c666 bash
  Error response from daemon: Container 90599013c666d332ff6560ccde5053d9127e72042ecc3887550aef90fa1d1eac is not running
  </code></pre>
  
  <p>Please could you tell what I am doing wrong?
  P.S adding -d flag when running not helped.</p>