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) and is the only variable that enters the recycle-pinned app env; the mTLS client certificates are read from the canonical /certs/client mount. Resource-cap fallbacks (SANDBOX_DOCKER_DEFAULT_CPU / SANDBOX_DOCKER_DEFAULT_MEMORY_MB), the image SANDBOX_DOCKER_PULL_POLICY, 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 at the tai-distribution layer).

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 at the tai-distribution layer.

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

The current release line tracks the 7.x contract (tai42-contract>=7,<8).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tai42_sandbox_docker-1.1.0.tar.gz (37.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tai42_sandbox_docker-1.1.0-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file tai42_sandbox_docker-1.1.0.tar.gz.

File metadata

  • Download URL: tai42_sandbox_docker-1.1.0.tar.gz
  • Upload date:
  • Size: 37.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for tai42_sandbox_docker-1.1.0.tar.gz
Algorithm Hash digest
SHA256 a65b63997c97e55df261d4111beb2330396a23f458a49ce8ba02cdab39ec2868
MD5 beb11ed37020040f9f3ee631de5990c0
BLAKE2b-256 18c8bb071b02fa8c6fa0e9afb5c678a31860c471e025574a247315b80bd813f3

See more details on using hashes here.

File details

Details for the file tai42_sandbox_docker-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tai42_sandbox_docker-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5aa3cae8e547eced9c1dabfdfbbf043ca00a66ac83296ab24c0894bdd6b0471
MD5 55b859f497f7a21767d53b993eace2e1
BLAKE2b-256 b0fb2a14de0382bb0c9d59c4eebe8cd372b4d84c2c20a7aaf2a8a179a19daca7

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 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