From 5990b8d4dee10755027b5a46275137c5aff0218a Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 29 May 2021 19:16:39 +0200 Subject: [PATCH] outposts: fix docker container not being stopped correctly Signed-off-by: Jens Langhammer --- authentik/outposts/controllers/docker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/outposts/controllers/docker.py b/authentik/outposts/controllers/docker.py index 309db04e8..95a85bc05 100644 --- a/authentik/outposts/controllers/docker.py +++ b/authentik/outposts/controllers/docker.py @@ -145,7 +145,7 @@ class DockerController(BaseController): container, _ = self._get_container() if container.status == "running": container.kill() - container.remove() + container.remove(force=True) except DockerException as exc: raise ControllerException(str(exc)) from exc