title: Docker-compose - Docker at the startup
body: <p>I'm starting with Docker and Laravel. I've cloned the Laradock images from GitHub. The services are running fine with this command: (from into the path of Laradock)</p>
  
  <pre><code>#docker-compose up -d apache2 gitlab
  </code></pre>
  
  <p>The problem is in the startop of the OS. The containers doesn't running.</p>
  
  <p>I've read from the ofical documentation of Docker and there is the command:</p>
  
  <pre><code>#docker run -dit --restart unless-stopped laravel_apache2
  #docker run -dit --restart unless-stopped laravel_gitlab 
  </code></pre>
  
  <p>I'm not sure why when I've restarted the machine the services are running(docker ps) but I haven't access to the server by apache2 and Gitlab.</p>
  
  <p>If it is execute again the first commmand from the path:</p>
  
  <pre><code>#docker-compose up -d apache2 gitlab
  </code></pre>
  
  <p>It's working fine again.</p>
  
  <p>I'm sure that the problem is between docker and docker-compose I don't know how to put in the startup the containers running by docker-compose command.</p>
  
  <p>Should be I have build a container and move or config by different way :(</p>
  
  <p>Please Could you help me to put in the startup a containers running by docker-compose?</p>
  
  <p>Thanks!</p>