
Docker sandbox
Lets an agent run code inside local Docker containers via the ComputeSDK adapter
Docker sandbox is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 305
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Docker sandbox
This skill documents the @computesdk/docker adapter for ComputeSDK, which provisions disposable sandboxes backed by local Docker containers. It walks the agent through installing the packages, pointing to the adapter README for prerequisites and provider configuration, creating a sandbox instance, running commands inside it, and destroying it afterward.
The included example shows a Python runtime built from a slim Python image with an if-not-present pull policy, executing a short command in the container. The skill is a short guide with a single file and no bundled scripts, so the detailed setup and limitations live in the linked adapter documentation.
Using it requires Node.js with npm, a working Docker installation, and TypeScript or JavaScript code that imports the adapter. For a common direct SDK workflow, the guide refers the agent to a separate computesdk skill.
When your agent uses it
Docker sandbox adapter for ComputeSDK. Run code in local containers for development and testing. Use for @computesdk/docker in a direct SDK integration.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (1 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/docker-sandbox to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/computesdk/computesdk.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/docker-sandbox &&
cp -R "$tmp/skills/docker-sandbox" ~/.claude/skills/docker-sandbox &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/docker-sandbox inside it instead.
Copy the skill folder to ~/.agents/skills/docker-sandbox to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/computesdk/computesdk.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/docker-sandbox &&
cp -R "$tmp/skills/docker-sandbox" ~/.agents/skills/docker-sandbox &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/docker-sandbox inside it instead.
Copy the skill folder to ~/.cursor/skills/docker-sandbox to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/computesdk/computesdk.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/docker-sandbox &&
cp -R "$tmp/skills/docker-sandbox" ~/.cursor/skills/docker-sandbox &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/docker-sandbox inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/computesdk/computesdk.git --path skills/docker-sandboxOr copy the folder to ~/.gemini/skills/docker-sandbox yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/docker-sandbox:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/computesdk/computesdk.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/docker-sandbox &&
cp -R "$tmp/skills/docker-sandbox" ~/.copilot/skills/docker-sandbox &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/docker-sandbox inside it instead.
Get the folder:
git clone --depth 1 https://github.com/computesdk/computesdk.gitThen copy computesdk/skills/docker-sandbox into your agent's skills folder as docker-sandbox. Agents that support SKILL.md read one folder per skill.
What it does
- Local container sandboxes
- Creates isolated sandbox instances backed by Docker containers on the local machine.
- Direct SDK integration
- Shows how to install and import the Docker adapter alongside the ComputeSDK client.
- Command execution
- Runs shell commands inside a sandbox and reads back standard output.
- Runtime and image selection
- Picks a Python or Node runtime and a base container image with a pull policy.
- Sandbox cleanup
- Destroys the sandbox once the workload has finished.
Good for
- Run a Python snippet in an isolated container during development
- Test code against a clean container image before deploying
- Execute a short workload in a throwaway sandbox and discard it
- Prototype a ComputeSDK integration using local Docker
Docker sandbox FAQ
What does Docker sandbox need to be installed?
The guide says to run npm install for computesdk and @computesdk/docker, and to read the adapter README for prerequisites and credentials.
Does Docker sandbox run code locally or in the cloud?
The adapter runs code in local containers, as its name and description state.
What is the workflow the agent follows?
Install the packages, create a sandbox with client.instances.create(), run the workload, and destroy the sandbox when finished.
How do I install Docker sandbox in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/docker-sandbox to use it in all your projects, or to .claude/skills/docker-sandbox in one project.
Does Docker sandbox run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Docker sandbox?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Docker sandbox?
The closest alternatives to Docker sandbox are Computesdk, Sandbox CLI sandbox, K8s sandbox, Cocoonstack sandbox and Just bash sandbox.
Where this comes from
- Description: from the skill's own SKILL.md.
More from computesdk/computesdk

Reference for driving the compute CLI to run sandboxes, Actions and market tasks
- Open source
- 305 GitHub stars
- Developer tools

Guides contributors through adding a sandbox compute provider to ComputeSDK
- Open source
- 305 GitHub stars
- Developer tools

Lets your agent inspect, dispatch and manage ComputeSDK CI workflow runs for your org
- Open source
- 305 GitHub stars
- Developer tools

Lets an agent read ComputeSDK sandbox provider benchmark results, runs and logs
- Open source
- 305 GitHub stars
- Developer tools

Lets an agent check, verify, remove and re-rate a ComputeSDK org's provider keys
- Open source
- 305 GitHub stars
- Cloud and infrastructure

Lets an agent run code, files and servers in ComputeSDK cloud sandboxes
- Open source
- 305 GitHub stars
- Developer tools

