groovytron / maracker

API aiming to make Human Brain Project's Medical Informatics Platform's developped apps deployment on Mesos Marathon easier.
0 stars 2 forks source link

Stop the container after a specific timeout #6

Open groovytron opened 7 years ago

groovytron commented 7 years ago

A user should only ask to start and stop an application. Now an administrator will register the Docker images in the database, and could for example update the version of the image or even delete the image from the DB. In this case, it's better to do nothing, simply ensure that users cannot start an application whose image has been deleted or updated. Eventually, the user or a timeout (we should probably also introduce this concept) will stop the running container and no more users will be able to use similar containers.