summaryrefslogtreecommitdiff
path: root/src/conf_mode/containers.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_mode/containers.py')
-rwxr-xr-xsrc/conf_mode/containers.py1
1 files changed, 1 insertions, 0 deletions
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']