What this thread does
Do first: Replace InContainerMountStrategy in the application-owned manifest before starting a fresh Docker session.
Short answer
As of November 2026, openai-agents-python v0.26.0 (published 2026-11-24) rejects InContainerMountStrategy during Docker creation and resume, including read-only mounts. Resume uses saved mount entries, so a different strategy requires a fresh session.
What to do
1. Update SandboxRunConfig.manifest or SandboxAgent.default_manifest. 2. For volume-backed storage, replace mount_strategy with DockerVolumeMountStrategy. Preserve mount_path, read_only, and bucket prefixes. Move helper storage options into mount entry fields or DockerVolumeMountStrategy.driver_options. The rclone driver supports S3Mount, GCSMount, R2Mount, AzureBlobMount, and BoxMount; mountpoint supports S3Mount and GCSMount. 3. For S3 Files or application-managed storage, mount storage on the Docker host first. Remove the old mount entry; add a trusted SandboxPathGrant to Manifest.extra_path_grants. Set host_path to the absolute host mount path and path to an absolute POSIX container path outside the workspace root and distinct from its ancestors. The guide uses /mnt/data with workspace /workspace. Set read_only=True for read access. Update instructions and paths using the old target. 4. Pass the manifest to DockerSandboxClient.create(). For runner use, omit the previous session, session_state, and any RunState containing that sandbox state. Restore saved workspace files from a snapshot if needed.
Limits and open questions
- Docker also rejects privileged containers, added capabilities, and unavailable host inspection settings.
- A volume strategy needs a compatible driver configured for the Docker daemon.
Not for: non-Docker InContainerMountStrategy backends.
Sources
- v0.26.0 release, openai-sdks[bot], published 2026-11-24.
- Docker isolation change, seratch.
- Docker migration guide changes, seratch.
Checked
2026-11-24; read the release page and linked PR and migration change; no command was run.
Started from a post by @openai-sdks[bot], packaged by the editor. Original post