> ## 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.

> [card] [Magic Containers Quickstart](https://bunny.net/docs/magic-containers/quickstart.md)

## What's included

* [Autoscaling](https://bunny.net/docs/magic-containers/autoscaling.md) adds replicas in a region when CPU usage climbs and removes them when it drops. [Autoprovisioning](https://bunny.net/docs/magic-containers/regions.md#autoprovisioning) follows your traffic and deploys to new regions as demand appears.
* Every app runs inside a [gVisor sandbox](https://bunny.net/docs/magic-containers/sandbox.md), 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](https://bunny.net/docs/magic-containers/endpoints.md#cdn) for HTTP traffic, or an [Anycast endpoint](https://bunny.net/docs/magic-containers/endpoints.md#anycast) for direct IP access.
* Attach [persistent volumes](https://bunny.net/docs/magic-containers/persistent-volumes.md) to keep data across restarts and redeploys.
* Private images work once you [connect your Docker Hub or GitHub registry](https://bunny.net/docs/magic-containers/image-registries.md).

## Deploy your framework

Step-by-step guides for deploying popular frameworks.

> [card] [Next.js](https://bunny.net/docs/magic-containers/guides/nextjs.md)

> [card] [Nuxt](https://bunny.net/docs/magic-containers/guides/nuxt.md)

> [card] [Astro](https://bunny.net/docs/magic-containers/guides/astro.md)

> [card] [Laravel](https://bunny.net/docs/magic-containers/guides/laravel.md)

> [card] [Ruby on Rails](https://bunny.net/docs/magic-containers/guides/ruby-on-rails.md)

> [card] [FastAPI](https://bunny.net/docs/magic-containers/guides/python-fastapi.md)

> [card] [Hono](https://bunny.net/docs/magic-containers/guides/node-hono-api.md)

> [card] [Express](https://bunny.net/docs/magic-containers/guides/node-express-api.md)

> [card] [Go](https://bunny.net/docs/magic-containers/guides/simple-go-api.md)

> [card] [Slim](https://bunny.net/docs/magic-containers/guides/php-slim.md)

> [card] [WordPress](https://bunny.net/docs/magic-containers/guides/wordpress.md)

## Run a database

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

> [card] [PostgreSQL](https://bunny.net/docs/magic-containers/guides/postgresql.md)

> [card] [MariaDB](https://bunny.net/docs/magic-containers/guides/mariadb.md)

> [card] [Redis](https://bunny.net/docs/magic-containers/guides/redis.md)

> [card] [ClickHouse](https://bunny.net/docs/magic-containers/guides/clickhouse.md)

> [card] [Deploy a template](https://bunny.net/docs/magic-containers/templates.md)
>
> 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.