> ## Documentation Index
> Fetch the complete documentation index at: https://developer.box.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Docker

> Use Box Mount to give an agent running in a Docker Sandbox governed access to a Box folder.

Docker Sandboxes gives you an isolated microVM with its own filesystem and tools, managed through the `sbx` CLI. Box Mount runs inside the sandbox and maps a Box folder to a standard POSIX path, so your agent works with ordinary file operations while Box remains the system of record.

This demo mounts a Box folder in a Docker Sandbox, runs an agent that reviews a contract against an approved legal playbook, and syncs the review memo back to Box.

## Before you begin

On the Box side, you need:

* Access to the Box Mount developer preview, including the Linux Box Mount binary. To request access, complete the [Box Mount developer preview form](https://bit.ly/box-mount-preview).
* A Box app configured for OAuth 2.0 or JWT. See [Configure credentials](https://developer.box.com/guides/box-mount#configure-credentials).
* The ID of the Box folder you want to mount. This is the number at the end of the folder URL on Box.

## Demo video

<video controls preload="metadata" src="https://app.box.com/index.php?rm=box_download_shared_file&shared_name=km3hfu33yuy10lz9jdjntdhti6onahn2&file_id=f_2559757043711" />

## Set up Box Mount in Docker Sandboxes

The demo has its own requirements, in addition to the Box Mount prerequisites:

* A Box developer token. See [Use a developer token](https://developer.box.com/guides/box-mount#use-a-developer-token).
* A new, empty Box folder.
* An Ubuntu 24.04 or later host with KVM available and a sudo-capable account.
* Node.js 20 or later and npm.
* An OpenAI API key for the demo agent.

Follow the [Box Mount contract review with Docker Sandboxes](https://github.com/box-community/docker-box-mount) README. It covers installing Docker Sandboxes, building a sandbox template that includes the Box Mount binary, registering credentials with the sandbox credential proxy, and running, inspecting, and tearing down the demo.

Developer tokens expire after 60 minutes, and you can't refresh them. When the token expires, update it and recreate the sandbox.

## Next steps

* Review [Secure your credentials](https://developer.box.com/guides/box-mount#secure-your-credentials) before you give an agent broader access in the sandbox.
* Review the Box Mount [known limitations](https://developer.box.com/guides/box-mount#known-limitations) before you build on the preview.
