Skip to main content

tai42-sandbox-docker

Docker sandbox provider for the TAI ecosystem — per-session containers on a REMOTE Docker engine over the Docker Engine API.

Each session runs as its own hardened container on a remote engine reached over mTLS. The app container spawns no local process, holds no host Docker socket, and mounts no host path; real work is driven through the engine's exec API against an idle session container.

Enable it

sandbox_module: tai42_sandbox_docker

Configuration

The SANDBOX_DOCKER_ env group. SANDBOX_DOCKER_HOST is required (a unix:///var/run/... socket path or a tcp://host:port); the mTLS client certificates are read from the canonical /certs/client mount, never from the environment. Resource-cap fallbacks (SANDBOX_DOCKER_DEFAULT_CPU / SANDBOX_DOCKER_DEFAULT_MEMORY_MB), the image SANDBOX_DOCKER_PULL_POLICY, the opt-in egress-firewall readiness probe (SANDBOX_DOCKER_READINESS_PROBE_ENABLED / SANDBOX_DOCKER_READINESS_PROBE_IMAGE / SANDBOX_DOCKER_READINESS_PROBE_TIMEOUT_SECONDS), and the shared TTL / reap / exec-timeout knobs round out the group.

Security model

  • Remote engine over mTLS — no host Docker socket, no privilege in the app container.
  • Per-session containers hardened with no-new-privileges, all capabilities dropped, never privileged, and no host bind mount.
  • Single-workspace-mount isolation invariant: a session mounts ONLY its own workspace volume and can never read the engine's mTLS client identity.
  • Network tiers none / internal / egress map onto the engine's network mode; egress default is OPEN, so tool-result data is exfiltratable under open egress (the egress firewall is provisioned by the deployment that runs the engine).
  • Egress-firewall readiness (opt-in): with SANDBOX_DOCKER_READINESS_PROBE_ENABLED, a create first proves the engine's egress firewall is in force — a throwaway, unprivileged probe container on the egress tier must not reach the engine's control address and must reach its own resolver — and refuses the create loudly otherwise. Both probe targets are derived, so there is nothing to mis-set.

Durability model

An ephemeral session's workspace is an anonymous volume reaped with the session; a persistent session binds a durable named tai-sbx-<workspace_key> volume that survives the session and its reap, removed only by an explicit unforced teardown. The durable store is provisioned by the deployment that runs the engine.

See docs/index.mdx and the tai-docs operate page for the full settings table and deployment topology.

Metadata

Release files for tai42-sandbox-docker 1.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tai42-sandbox-docker 1.2.2
File Size Uploaded
tai42_sandbox_docker-1.2.2.tar.gz 45.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tai42-sandbox-docker 1.2.2
File Interpreter ABI Platform
tai42_sandbox_docker-1.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 74.4 kB

Release files / tai42_sandbox_docker-1.2.2.tar.gz

Download URL tai42_sandbox_docker-1.2.2.tar.gz
Size 45.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8da6536b7a46cd848bafafb66356aeff4dce40257ef5ec49d3244025922e42d0
BLAKE2b-256 checksum
How to use checksums
9092d8f8c1e813dfa7bf4dd8790a283bfbcd8da6ef29016ff9368f4cb75b3bb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / tai42_sandbox_docker-1.2.2-py3-none-any.whl

Download URL tai42_sandbox_docker-1.2.2-py3-none-any.whl
Size 29.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6ef942e6007e63b0d4ab68a77920bb2d3a796c2d6a37edc6db5540262630938
BLAKE2b-256 checksum
How to use checksums
86f1ad5dda4e6cf0f6b0031c3b3e102bd590ef2bb520b80f530225c7962a158a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

2.0.7

2 release files

2.0.6

2 release files

2.0.5

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.4.7

2 release files

1.4.6

2 release files

1.4.5

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.9

2 release files

1.2.8

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

This release

1.2.2 This release

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page