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/egressmap 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
162276c3c65ae1697ae6ec257e4e1ce72bde6da44ac17519916a5f421c7bec8e
|
|
| MD5 |
eb09b57b4c47afb6b4d0048730add37a
|
|
| BLAKE2b-256 |
b456d269b3e3f50cca9f9dcc87b3ded9f7f275909baafa31721b517c9ed1edeb
|
File details
Details for the file tai42_sandbox_docker-1.0.1-py3-none-any.whl.
File metadata
- Download URL: tai42_sandbox_docker-1.0.1-py3-none-any.whl
- Upload date:
- Size: 23.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38bed2361e4437ccf5297b0e48375445d47d6fcfab0df5bd0919892d3f574c2c
|
|
| MD5 |
f09fca26837bb3138e5d872917298ac7
|
|
| BLAKE2b-256 |
c72f927333e0ee6293493e5ada111e79418e31dc959986b2b1d806737cc09b72
|