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.0.3.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.0.3-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tai42_sandbox_docker-1.0.3.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.0.3.tar.gz
Algorithm Hash digest
SHA256 cc05872fb5d7a32ff7f7c920112e281befecd8dd1176d471e68633d6d6d40446
MD5 7cf5d80a7d69767d902f4f9de7b104fb
BLAKE2b-256 7aea0a9b5059a4656e45120d0aa44c1493a16641c157f234d7d7957b4225a43f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tai42_sandbox_docker-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6e51a19dc8baa9ee161b1c46381ee55673f1f3034578b893fb186e1b0d9cf23a
MD5 98a5f47c9c53495300238ed3fb9c341b
BLAKE2b-256 b5845f97c19119a7c7e1eec6b4ea870b05320d64cfedeb32c34c4f33d7fea6ce

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.0

2 files

This release

1.0.3 This release

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