feat(box): support custom sandbox container image via config.yaml

Add 'image' field to box config section. When set, it overrides the
profile default image (python:3.11-slim) for all sandbox containers.
Priority: caller-specified > config.yaml image > profile default.
This commit is contained in:
Junyan Qin
2026-04-18 22:40:32 +08:00
committed by WangCham
parent cbb36139f4
commit 5a4ec62b14
2 changed files with 10 additions and 0 deletions
+1
View File
@@ -89,6 +89,7 @@ monitoring:
check_interval_hours: 1
box:
profile: 'default'
image: '' # Custom sandbox container image. Leave empty to use the profile default (python:3.11-slim).
runtime_url: '' # Action-RPC WebSocket URL of an external Box Runtime. Leave empty for auto-detection (stdio locally, Docker service in containers).
shared_host_root: './data/box' # For Docker deployment, use '/workspaces'
default_host_workspace: '' # Defaults to '<shared_host_root>/default'