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

# Magic Containers

> Run Docker containers in 40+ regions, with autoscaling, sandboxing, and CDN or Anycast endpoints included.

![bunny.net Magic Containers](https://mintcdn.com/bunnynet-cb9733c2/kcU5tb-Sz5318NF5/images/magic-containers/magic-containers.png?fit=max\&auto=format\&n=kcU5tb-Sz5318NF5\&q=85\&s=a3c2b97a4b8f1929e0b81ba4fb8f7742)

Magic Containers runs your Docker images in 40+ regions. Pick an image from Docker Hub or GitHub, choose where it runs, and we'll scale it with your traffic.

> **[Magic Containers Quickstart](/docs/magic-containers/quickstart)**

## What's included

* [Autoscaling](/docs/magic-containers/autoscaling) adds replicas in a region when CPU usage climbs and removes them when it drops. [Autoprovisioning](/docs/magic-containers/regions#autoprovisioning) follows your traffic and deploys to new regions as demand appears.
* Every app runs inside a [gVisor sandbox](/docs/magic-containers/sandbox), which handles system calls in a user-space kernel so your code never reaches the host kernel directly.
* Expose your app through a [CDN endpoint](/docs/magic-containers/endpoints#cdn) for HTTP traffic, or an [Anycast endpoint](/docs/magic-containers/endpoints#anycast) for direct IP access.
* Attach [persistent volumes](/docs/magic-containers/persistent-volumes) to keep data across restarts and redeploys.
* Private images work once you [connect your Docker Hub or GitHub registry](/docs/magic-containers/image-registries).

## Deploy your framework

Step-by-step guides for deploying popular frameworks.

> **[Next.js](/docs/magic-containers/guides/nextjs)**

> **[Nuxt](/docs/magic-containers/guides/nuxt)**

> **[Astro](/docs/magic-containers/guides/astro)**

> **[Laravel](/docs/magic-containers/guides/laravel)**

> **[Ruby on Rails](/docs/magic-containers/guides/ruby-on-rails)**

> **[FastAPI](/docs/magic-containers/guides/python-fastapi)**

> **[Hono](/docs/magic-containers/guides/node-hono-api)**

> **[Express](/docs/magic-containers/guides/node-express-api)**

> **[Go](/docs/magic-containers/guides/simple-go-api)**

> **[Slim](/docs/magic-containers/guides/php-slim)**

> **[WordPress](/docs/magic-containers/guides/wordpress)**

## Run a database

Deploy a database from its official image, with a persistent volume for the data.

> **[PostgreSQL](/docs/magic-containers/guides/postgresql)**

> **[MariaDB](/docs/magic-containers/guides/mariadb)**

> **[Redis](/docs/magic-containers/guides/redis)**

> **[ClickHouse](/docs/magic-containers/guides/clickhouse)**

> **[Deploy a template](/docs/magic-containers/templates)**
>
> Start from a pre-built app, such as n8n, Umami, or Next.js with PostgreSQL, and deploy it from the dashboard


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.