What is the best way to run a container for a maximum of N seconds?

Of course! What was I thinking!

Thanks Martin,

&