Remove container before delete images (#78)

This commit is contained in:
Pascal Vizeli 2017-06-08 17:11:14 +02:00 committed by GitHub
parent 334b41de71
commit d854307acb

View File

@ -206,8 +206,8 @@ class DockerBase(object):
Need run inside executor.
"""
if self._is_running():
self._stop()
# cleanup container
self._stop()
_LOGGER.info(
"Remove docker %s with latest and %s", self.image, self.version)