currently I'm hosting several containers using Docker and realized that some containers seem to keep restarting by themself.
When using the command, docker ps -a, I saw the column status is always like "Up 5 minutes" or "Up 2 hours" and in the actual website, I have seen the downtime when the container is restarting itself and this is happening like multiple times per day.
I have tried with docker logs and look for documentation on the restarting behaviors and so far have no luck to find out why. Can anyone share me some lights on what would trigger the restart of the docker containers? Do they restart whe the host machine ran out of RAM? Is there any tools that I can track this behavior?
Thanks for your help..