title: Can't run Mongo DB deamon in docker container
body: <p>I'm running docker container in OSX using boot2docker. It is a latest Ubuntu image with mongo installed using official way from package <code>mongodb-org</code>.</p>
  
  <p>I can perfectly run <code>mongod</code> from command line, but can't run it as a service.</p>
  
  <p>When I'm trying to do <code>sudo service mongod start</code> it returns</p>
  
  <pre><code>Rather than invoking init scripts through /etc/init.d, use the service(8)
  utility, e.g. service mongod start
  
  Since the script you are attempting to invoke has been converted to an
  Upstart job, you may also use the start(8) utility, e.g. start mongod
  </code></pre>
  
  <p>I have tried to do <code>start mongod</code> which doesn't have any output. I have tried everything I found in Google, but no luck.</p>
  
  <p>Meanwhile, I have tried to install MySQL using <code>apt-get</code> and I can perfectly run it as a service.</p>
  
  <p>Also I have tried to install Mongo from Ubuntu's <code>mongodb</code> package which is a older version. Also no problem to run it as a service.</p>
  
  <p>I suspect that there is something wrong with /etc/init.d/mongod script, but don't know exactly what.</p>
  
  <p>Apprieciate any help.</p>