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

Uploaded Python 3

File details

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

File metadata

  • Download URL: tai42_sandbox_docker-1.0.0.tar.gz
  • Upload date:
  • Size: 36.8 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.0.tar.gz
Algorithm Hash digest
SHA256 ba4f48a8723a9d65a20a08163c8bff77e28d0eca9479d4f89438ca9dfff0b6f6
MD5 ff7679bbeb6d91021780a6cfdf05f857
BLAKE2b-256 4e710e8c6e22626bc80ea980d1cf91b3d5e7b8b5b1352d83a465a372d6becbf1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tai42_sandbox_docker-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 55a31534a9ab18ff95448d14af1845671b7f27047f256d59c5dd27b293472fab
MD5 578e7cd70a18133a41f349ea2bb0a7d2
BLAKE2b-256 74f31aae319256f54958612415aa4d95a77d4fb75c076f61443889dbd28b1706

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

1.0.1

2 files

This release

1.0.0 This release

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