title: File not found in docker container
body: <p>I'm doing something extremely simple.  Here is my <code>Dockerfile</code>:</p>
  
  <pre><code>FROM alpine:latest
  
  ADD hello.sh /bin/hello
  RUN chmod +x /bin/hello
  
  CMD /bin/hello
  </code></pre>
  
  <p>Then I build the image:</p>
  
  <pre><code>docker build -t hello .
  </code></pre>
  
  <p>Then I run the image:</p>
  
  <pre><code>docker run hello
  </code></pre>
  
  <p>And here is the output:</p>
  
  <pre><code>/bin/sh: /bin/hello: not found
  </code></pre>
  
  <p>Why is this happening?  If I run:</p>
  
  <pre><code>docker run hello cat /bin/hello
  </code></pre>
  
  <p>I can see the content of my script, which makes me even more confused.</p>