From a98b0d886f522ca9620182bd0f1a2f73a905f35a Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 24 Aug 2021 12:26:42 +0200 Subject: container: T3769: remove container when marked as "disable" --- src/conf_mode/containers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/conf_mode/containers.py b/src/conf_mode/containers.py index 85fc14015..32320a4b2 100755 --- a/src/conf_mode/containers.py +++ b/src/conf_mode/containers.py @@ -237,6 +237,7 @@ def apply(container): tmp = _cmd('podman ps -a --format "{{.Names}}"') if name in tmp: _cmd(f'podman stop {name}') + _cmd(f'podman rm --force {name}') continue memory = container_config['memory'] -- cgit v1.2.3