diff --git a/lustmolch/cli.py b/lustmolch/cli.py
index 999a59524c88fa6d72f3dfeae20e291d6a4986d0..7894975ea5e22975453089be04f7d44339ca8f67 100644
--- a/lustmolch/cli.py
+++ b/lustmolch/cli.py
@@ -46,7 +46,6 @@ def update_containers(dry_run: bool) -> None:
 
 
 @cli.command()
-@click.option('--dry-run', is_flag=True, default=False)
 @click.argument('name')
-def remove_container(dry_run: bool, name: str) -> None:
-    lustmolch.remove_container(dry_run, name)
+def remove_container(name: str) -> None:
+    lustmolch.remove_container(name)
diff --git a/lustmolch/lustmolch.py b/lustmolch/lustmolch.py
index 29c3977cb21f623ab0acda2c025217f370a29d19..930d2a475d3e559d85e70d1314f749c16b9d985f 100755
--- a/lustmolch/lustmolch.py
+++ b/lustmolch/lustmolch.py
@@ -187,6 +187,7 @@ def create_container(dry_run, name):
 
     logging.info('Updating container configuration file')
     if not dry_run:
+        config['containers'][name] = context
         config.save()
 
     logging.info(f'All done, ssh server running on port {ssh_port}\n'
@@ -236,13 +237,12 @@ def update_containers(dry_run: bool) -> None:
             authorized_keys.write_text(keys)
 
 
-def remove_container(dry_run: bool, name: str) -> None:
+def remove_container(name: str) -> None:
     """delete a container and its configuration files"""
     machine_path = Path('/var/lib/machines', name)
 
     logging.info(f'Stopping container')
-    if not dry_run:
-        run(['machinectl', 'stop', name], capture_output=True, check=False)
+    run(['machinectl', 'stop', name], capture_output=True, check=False)
 
     # removing shared folder
     www_dir = Path(config['www_root']) / name
diff --git a/setup.py b/setup.py
index 82493df97c4d138e0474894eb4c4c746090181c0..d5b5f9c9b937a1691c29a92dfb2c4f4418c01315 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,6 @@
 from setuptools import setup
 
-VERSION = '1.0.5'
+VERSION = '1.0.6'
 AUTHOR = 'Michael Loipführer'