title: Failed to run service inside docker container
body: <p>I need to create docker container which is running Onedrive client so I can synchronize the data to my Onedrive account. </p>
  
  <p>This is the project that I've created <a href="https://github.com/rischanlab/onedrive-ubuntu-docker" rel="nofollow">https://github.com/rischanlab/onedrive-ubuntu-docker</a></p>
  
  <p>I created a Makefile, by that file we can make command easily. </p>
  
  <p>This is the example of my Makefile</p>
  
  <pre><code>shell:
      @echo
      @echo "------------------------------------------------------------------"
      @echo "Shelling in in production mode"
      @echo "------------------------------------------------------------------"
      @docker-compose -p $(PROJECT_ID) run data /bin/bash
  
  statusd:
      @echo
      @echo "------------------------------------------------------------------"
      @echo "Knowing Onedrive daemon status"
      @echo "------------------------------------------------------------------"
      @docker-compose -p $(PROJECT_ID) run data onedrive-d status
  
  startd:
      @echo
      @echo "------------------------------------------------------------------"
      @echo "Running Onedrive daemon"
      @echo "------------------------------------------------------------------"
      @docker-compose -p $(PROJECT_ID) run data onedrive-d start
  </code></pre>
  
  <p>The problem is when I run <code>make startd</code> the log said that onedrive-d has been start but I still can't sync my data to my onedrive account, then I checked the status by using command <code>make statusd</code> and the log said that onedrive-d is not running. I am so confused why it happend. </p>
  
  <p>Note: </p>
  
  <ol>
  <li><p>When I login to the container <code>make shell</code> then I start manualy
  <code>onedrive-d start</code>. it works, the daemon can start well and my files
  successfuly synchronized.</p></li>
  <li><p>For the <code>docker-compose.yml</code> and <code>Dockerfile</code> can be seen on my<br>
  project that I provide above.</p></li>
  </ol>
  
  <p>so, is there anyone can explain to me, whats wrong with my code? </p>