title: How to stop docker container automatically?
body: <p>I am trying to stop the docker container automatically after 1 hour. I mean, if there is no process going on or the container is idle for 1 hour, then stop that container. Is this possible to do it programmatically within the Dockfile? Any thoughts would be helpful.</p>
  <p>Thanks in advance.</p>