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.

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.0.1.tar.gz (36.9 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.0.1-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tai42_sandbox_docker-1.0.1.tar.gz
  • Upload date:
  • Size: 36.9 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.0.1.tar.gz
Algorithm Hash digest
SHA256 162276c3c65ae1697ae6ec257e4e1ce72bde6da44ac17519916a5f421c7bec8e
MD5 eb09b57b4c47afb6b4d0048730add37a
BLAKE2b-256 b456d269b3e3f50cca9f9dcc87b3ded9f7f275909baafa31721b517c9ed1edeb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tai42_sandbox_docker-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 38bed2361e4437ccf5297b0e48375445d47d6fcfab0df5bd0919892d3f574c2c
MD5 f09fca26837bb3138e5d872917298ac7
BLAKE2b-256 c72f927333e0ee6293493e5ada111e79418e31dc959986b2b1d806737cc09b72

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.0

2 files

1.0.3

2 files

1.0.2

2 files

This release

1.0.1 This release

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