title: Start docker containers on linux system startup from user directory
body: <p>I've downloaded two docker containers and already configure them.</p>
  
  <p>So, now all I want is to start them on system startup.</p>
  
  <p>They are in a path like</p>
  
  <p><code>/home/user/docker-mailserver</code></p>
  
  <p><code>/home/user/docker-webserver</code></p>
  
  <p>Hosted on a Ubuntu 18.04.01 (x64)</p>
  
  <p>On boot those docker containers are not running.</p>
  
  <p>On login, those docker containers are starting.</p>
  
  <p>I already tried to do something like</p>
  
  <p><code>docker run -it --restart unless-stopped fancydockercontainer:latest</code></p>
  
  <p><code>docker run -dit --restart unless-stopped fancydockercontainer:latest</code></p>
  
  <p>But then when I do <code>docker ps</code> there where new containers added to the pool.</p>
  
  <p>Is there a way to "re-route" the start process of those container to system start without completely delete / remove them?</p>
  
  <p>Addition:
  I started them like <code>docker-compose up -d mailserver</code></p>