# Sandbox templates
URL: https://docs.munito.ai/sandboxes/templates

A template is the root file system of a new sandbox. Set `template` in the create.

| Template | System                          | Tools                                                                                                             |
| -------- | ------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| `base`   | Debian 12. The default template | Python 3.12, Node 24, git, curl, jq and build tools                                                               |
| `ubuntu` | Ubuntu 24.04 with systemd       | Docker with Compose and Buildx, Python 3.12, Node 24, git, curl, jq, build tools, Claude Code, Codex and OpenCode |

`pip install` installs into the system Python in both templates.

## Docker in the ubuntu template [#docker-in-the-ubuntu-template]

Docker starts with the sandbox:

```bash
curl -sS --fail-with-body https://api.munito.ai/sandboxes/v1/sandboxes \
  -H "Authorization: Bearer $MUNITO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"template": "ubuntu", "size": "large", "command": "docker run --rm hello-world"}'
```

- Use the `default` size or a larger size. Images use memory and disk.
- Docker Hub limits the pulls of a user that is not logged in. If you pull many images, run `docker login` in the sandbox.

## Docker in the base template [#docker-in-the-base-template]

The `base` template has no Docker. Run these commands in the sandbox, one at a time:

```bash
apt-get update && apt-get install -y docker.io
setsid dockerd --iptables=false --bridge=none >/var/log/dockerd.log 2>&1 < /dev/null &
docker run --rm --network none hello-world
```

- The daemon continues to run after its command ends. Later commands can use it.
- These containers have no bridge network. Use `--network host` for internet access, or `--network none`.

## Agents in the ubuntu template [#agents-in-the-ubuntu-template]

The `ubuntu` template has Claude Code, Codex and OpenCode installed. See [Cloud Agents](https://docs.munito.ai/sandboxes/cloud-agents).
