mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-25 18:16:32 +00:00
Remove container before delete images (#78)
This commit is contained in:
parent
334b41de71
commit
d854307acb
@ -206,8 +206,8 @@ class DockerBase(object):
|
|||||||
|
|
||||||
Need run inside executor.
|
Need run inside executor.
|
||||||
"""
|
"""
|
||||||
if self._is_running():
|
# cleanup container
|
||||||
self._stop()
|
self._stop()
|
||||||
|
|
||||||
_LOGGER.info(
|
_LOGGER.info(
|
||||||
"Remove docker %s with latest and %s", self.image, self.version)
|
"Remove docker %s with latest and %s", self.image, self.version)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user