I wanted to know that is it possible to start a Docker container and make sure it stops after a specified period time?
Suppose that I have an Ubuntu container, which I start, executed some commands and exited in the end. But it’s possible that those commands may include infinite loops or may just last a very long time, so how do I make sure that the Docker container is automatically killed after an amount of time.
Thank you.