title: After docker build . the container is not displayed, why?
body: <p>I'm trying to build a docker container with <a href="https://github.com/NarrativeScience/Log.io" rel="noreferrer">log.io</a>.
  If I manually run:</p>
  
  <pre><code>docker run -it node:argon -p 28777:28777 -p 28778:28778 -p 8000:80 /bin/bash
  </code></pre>
  
  <p>and manually run inside the command which you see in the Dockerfile then everything works perfectly and I am able to log into the service using http.</p>
  
  <pre><code>FROM node:argon
  
  WORKDIR Logz.io/src/
  
  RUN useradd -ms /bin/bash ubuntu
  
  #RUN mkdir /root/.log.io \
  #       &amp;&amp; touch /root/.log.io/harvester.conf \
  #       &amp;&amp; touch /root/.log.io/log_server.conf \
  #       &amp;&amp; touch /root/.log.io/web_server.conf
  
  #RUN chmod g+rwx /root/logzio
  RUN apt-get update \
          &amp;&amp; apt-get install -y vim net-tools
  
  RUN npm install log.io
  
  RUN /node_modules/log.io/bin/log.io-server &amp;
  
  RUN /node_modules/log.io/bin/log.io-harvester &amp;
  
  EXPOSE 28777
  EXPOSE 28778
  EXPOSE 8000
  </code></pre>
  
  <p>But if I run:</p>
  
  <pre><code>docker build .
  </code></pre>
  
  <p>The container is created, everything is installed but:</p>
  
  <blockquote>
    <ol>
    <li>When the creation finishes and I run <code>docker ps -a</code>, the container is not displayed (even though I get it's details when I run <code>docker inspect</code>).</li>
    <li>The Log.io service is unavailable when I browse to it through http.</li>
    </ol>
  </blockquote>
  
  <p>Anyone knows what I'm doing wrong?</p>