title: docker not start ing exiting ruby
body: <p>I am trying build Docker container and start the server. When we use <code>docker build -t . test</code> its create container successfully. When we start the container with <code>docker run -d -p 3000:3000 --name railsserver test</code> its start exit status 0 but cant see any process or any open port 3000 </p>
  
  <p><code>docker ps -a</code></p>
  
  <pre><code>CONTAINER ID        IMAGE               COMMAND                  CREATED              STATUS                      PORTS                NAMES
  da70e26109b3        foodex              "irb"                    40 seconds ago       Exited (0) 22 seconds ago                        admiring_heyrovsky
  73d4a7ca58d0        foodex              "irb"                    About a minute ago   Created                                          jolly_ramanujan
  4594ad5ea4ce        foodex              "irb"                    6 minutes ago        Exited (0) 6 minutes ago                         tender_murdock 
  </code></pre>
  
  <p>Dockerfile</p>
  
  <pre><code>FROM ruby
  RUN apt-get update -qq &amp;&amp; apt-get install -y \
      build-essential libpq-dev nodejs mysql-client libmysqlclient-dev ssh
  RUN mkdir -p /foodex/
  WORKDIR /foodex/
  ADD Gemfile Gemfile.lock /
  RUN bundle install
  #RUN source ~/.bashrc
  EXPOSE 3000
  RUN bundle exec rails s -p 3000 -b '0.0.0.0'
  ADD . /foodex/
  </code></pre>