From f2f82910c98b289f9a90bac1906dc20b5be40c8c Mon Sep 17 00:00:00 2001 From: claude Date: Tue, 23 Jun 2026 07:59:09 +0000 Subject: [PATCH] fix(macos-container): remove --rm from agent run so commit can export container stop was removing the container immediately (due to --rm) before container export could run. The force_remove_container teardown callback on the ExitStack already handles cleanup on normal exit, so --rm was redundant. Without it, the stopped container stays available for container export to snapshot. --- bot_bottle/backend/macos_container/launch.py | 1 - 1 file changed, 1 deletion(-) diff --git a/bot_bottle/backend/macos_container/launch.py b/bot_bottle/backend/macos_container/launch.py index 1a7d89a..0217a96 100644 --- a/bot_bottle/backend/macos_container/launch.py +++ b/bot_bottle/backend/macos_container/launch.py @@ -329,7 +329,6 @@ def _agent_run_argv( "container", "run", "--name", plan.container_name, "--detach", - "--rm", "--network", internal_network, ] for entry in _agent_env_entries(plan, sidecar_ip):