Do not remove docker container until gc process runs

Description

The current docker containerizer implementation that is up for review at https://reviews.apache.org/r/23771/ does a docker rm as soon as a task fails. This makes debugging difficult, if not impossible. MESOS-1652 will aid with this, but it does not address the use case of diagnosing a failure which involves inspecting the state of a container.

Timothy Chen and I discussed this on IRC, see http://wilderness.apache.org/channels/?f=mesos/2014-07-31#1406842111

 

https://issues.apache.org/jira/browse/MESOS-1656

猜你喜欢

转载自m635674608.iteye.com/blog/2338657