title: launch basic bash script on docker build from windows system
body: <p>I would like to construct a docker image based from script bash for provisioning my system.</p>
  
  <p>I try to build my image and docker tell me <strong>"Successfully built"</strong> but when I try to launch this I can see this message : <strong>"No such file or directory"</strong> and I can't viewing container in <strong><em>Kitematic</em></strong> application.</p>
  
  <p>If I launch docker inspect on my container (created correctly but not launched) I can view a <strong>ExitCode 127</strong>.</p>
  
  <p>Can you help me to understand issue and also help me to launch correctly a simple script bash for provisionning image docker.</p>
  
  <p><strong>dockerfile :</strong></p>
  
  <pre><code>FROM ubuntu:trusty
  MAINTAINER barbie rambo &lt;barbierambo@mymail.com&gt;
  
  RUN apt-get update \
      &amp;&amp; apt-get install -y openjdk-7-jdk wget openssh-server tar vim
  
  COPY scripts/base.sh /home/docker/scripts/base.sh
  RUN chmod 744 /home/docker/scripts/base.sh
  ENTRYPOINT /home/docker/scripts/base.sh
  </code></pre>
  
  <p><strong>my base.sh script</strong></p>
  
  <pre><code>#!/usr/bin/env bash
  
  # Set non-interactive mode
  #export DEBIAN_FRONTEND=noninteractive
  
  # Update the box
  apt-get -y update
  apt-get -y install linux-headers-$(uname -r) build-essential
  apt-get -y install zlib1g-dev libssl-dev libreadline-gplv2-dev
  apt-get -y install curl unzip
  apt-get -y install software-properties-common
  apt-get -y install gnupg2
  
  # others tools
  sudo apt-get -y install nano
  sudo apt-get -y install vim
  sudo apt-get -y install aptitude
  sudo apt-get -y install git
  sudo apt-get -y install openjdk-8-jre
  sudo apt-get -y install whois
  sudo apt-get -y install dos2unix
  </code></pre>