Merge pull request #17305 from NousResearch/feat/docker-run-as-host-user

feat(docker): run container as host user to avoid root-owned bind mounts
This commit is contained in:
Ben Barclay 2026-04-29 16:41:55 +10:00 committed by GitHub
commit 58a6171bfb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 412 additions and 15 deletions

View file

@ -488,6 +488,7 @@ def _get_or_create_env(task_id: str):
"container_disk": config.get("container_disk", 51200),
"container_persistent": config.get("container_persistent", True),
"docker_volumes": config.get("docker_volumes", []),
"docker_run_as_host_user": config.get("docker_run_as_host_user", False),
}
ssh_config = None