I have an issue where I'd like to queue up different builds for a specific branch. I don't want builds to run at the same time; one build could take about 15 mins to complete and there may be a number of commits that occur for a specific branch during that time. ... We're seeing if we can create a script that will check for the presence of an item within our application, and run the maven command once the item is no longer present. However, we're not sure if this method will work due to the time to live for a docker container. How long will a docker container stay up and running?