[openstack-dev] [Heat] Should docker plugin remove containers on delete?

Steve Baker sbaker at redhat.com
Mon Sep 1 23:18:07 UTC 2014


On 02/09/14 05:58, Lars Kellogg-Stedman wrote:
> Hello all,
>
> I recently submitted this change:
>
>   https://review.openstack.org/#/c/118190/
>
> This causes the Docker plugin to *remove* containers on delete,
> rather than simply *stopping* them.  When creating named containers,
> the "stop but do not remove" behavior would cause conflicts when try
> to re-create the stack.
>
> Do folks have an opinion on which behavior is correct?
>
Removing after stopping seems reasonable. If we wanted to support both
behaviors then that resource could always have deletion_policy: Retain
implemented.

http://docs.openstack.org/developer/heat/template_guide/hot_spec.html#resources-section



More information about the OpenStack-dev mailing list