Merge branch 'master' into tenant
This commit is contained in:
commit
e3578eb7ae
|
@ -145,7 +145,7 @@ class DockerController(BaseController):
|
||||||
container, _ = self._get_container()
|
container, _ = self._get_container()
|
||||||
if container.status == "running":
|
if container.status == "running":
|
||||||
container.kill()
|
container.kill()
|
||||||
container.remove()
|
container.remove(force=True)
|
||||||
except DockerException as exc:
|
except DockerException as exc:
|
||||||
raise ControllerException(str(exc)) from exc
|
raise ControllerException(str(exc)) from exc
|
||||||
|
|
||||||
|
|
Reference in New Issue