title: How to run docker container in production in Centos?
body: <p>So on my server, I run my docker container as a daemon process via:</p>
  
  <pre><code>docker run -p 80:80 -td example
  </code></pre>
  
  <p>It seems to work fine - for now!</p>
  
  <p>But, what if I restart my server or my docker container crashes? Then it doesn't work fine.</p>
  
  <p>What is the best/conventional/standard way to keep my docker container running?</p>
  
  <p>Thanks!</p>