---
title: Docker
description: Deploy HTTP applications from a standard Dockerfile with Vercel Functions, and run continuous background workers with Vercel Daemons. Find deployment and migration guides for both.
url: "https://vercel.com/kb/docker"
published: 2026-08-12
last_updated: 2026-11-23
install_vercel_plugin: npx plugins add vercel/vercel-plugin
search_with_vercel_cli: npx vercel@latest kb search "<query>"
---

# Docker

Deploy HTTP applications from a standard Dockerfile with Vercel Functions, and run continuous background workers with Vercel Daemons. Find deployment and migration guides for both.

## Deploy a Docker App on Vercel

- [Deploy Rust on Vercel with Docker](/kb/guide/deploy-rust-on-vercel-with-docker): Build a Rust application with Axum and Docker, then deploy it to Vercel Functions. Learn how to configure environment variables, managed storage, and preview deployments for your project.
- [Deploy a Node.js Fastify app on Vercel with Docker](/kb/guide/deploy-nodejs-on-vercel-with-docker): Build a Node.js application with Fastify and Docker, then deploy it to Vercel Functions. Learn how to configure environment variables, managed storage, and preview deployments for your project.
- [Deploy PHP on Vercel with Docker](/kb/guide/deploy-php-on-vercel-with-docker): Build a PHP application with FrankenPHP and Docker, then deploy it to Vercel Functions with managed configuration, storage, and preview deployments.
- [Deploy Go apps on Vercel using Docker](/kb/guide/deploy-go-using-docker-vercel): Deploy an existing Dockerized Go app to Vercel using Memos as a real-world example, with Neon Postgres for durable data.
- [Deploy Python apps on Vercel using Docker](/kb/guide/vercel-docker-python-apps): Deploy a Dockerized Python application that depends on native software, OCR engines, or small local models, plus a Next.js frontend, on Vercel Services.
- [Deploy ASP.NET Core on Vercel with Docker](/kb/guide/dot-net-asp-net-on-vercel-with-docker): Build a .NET application with Docker and deploy it to Vercel Functions. Learn how to configure environment variables, integrations, and preview deployments for your ASP.NET Core application.

## Migrate Your Docker App

- [Migrate from Railway to Vercel](/kb/guide/migrate-railway-to-vercel): Migrate an app from Railway to Vercel. Choose a deployment path, configure services, plan for stored data, and test before switching production traffic.
- [Migrate from Fly.io to Vercel](/kb/guide/migrate-fly-io-to-vercel): Move an app from Fly.io to Vercel. Map configuration, choose Functions or Daemons, plan persistent storage, and verify the production cutover.
- [Migrate from Render to Vercel](/kb/guide/migrate-render-to-vercel): Migrate from Render to Vercel: map web services, cron jobs, and containers to their equivalents, and handle what doesn't move.
- [Migrate from Google Cloud Run to Vercel](/kb/guide/migrate-cloud-run-to-vercel): Move a Cloud Run service or worker to Vercel. Compare runtimes, preserve Google Cloud access, and plan jobs, validation, and production cutover.
- [Migrate self-hosted Next.js and containers from AWS to Vercel](/kb/guide/migrate-containers-from-aws-to-vercel): Migrate Next.js apps and HTTP containers from AWS to Vercel. Configure AWS access, assess background workers, and plan testing, DNS cutover, and rollback.

## Choose a runtime and migrate workers

- [How to choose between Functions, containers, and Daemons on Vercel](/kb/guide/vercel-functions-containers-daemons): Choose Vercel Functions for HTTP requests, container images for custom runtimes, and Daemons for continuous background workers.
- [Migrate Render background workers to Vercel Daemons](/kb/guide/migrate-render-workers-to-vercel-daemons): Migrate Render workers to Vercel Daemons. Translate render.yaml, package Celery in Docker, prepare the broker, and verify the queue handoff.
- [Migrate Railway workers to Vercel Daemons](/kb/guide/migrate-railway-workers-to-vercel-daemons): Move Railway workers to Vercel Daemons with Docker configuration, broker migration, shutdown testing, a gradual queue handoff, and rollback.
- [Migrate Fly.io worker processes to Vercel Daemons](/kb/guide/migrate-fly-io-workers-to-vercel-daemons): Migrate Fly.io workers to Vercel Daemons with your existing Dockerfile. Map process settings, preserve queue state, and plan cutover and rollback.

## Learn more about container isolation

- [What is a Docker sandbox?](https://vercel.com/i/docker-sandbox): A Docker sandbox runs agent code in a hardened container or a Docker Sandboxes microVM. See what each isolates and when a container stops being enough.
- [MicroVMs vs. containers for running AI-generated code](https://vercel.com/i/microvm-vs-container): Compare microVMs and containers for AI-generated code, including kernel isolation, container images, permissions, and execution lifecycle.
- [What is Kata Containers and how does it work?](https://vercel.com/i/kata-containers): Kata Containers runs each pod in a lightweight VM with its own kernel. See how it works and how it compares to Docker, gVisor, and Firecracker.

## All Docker guides

- [Running background workers on Vercel](/kb/guide/background-workers-on-vercel): Run background jobs on Vercel with waitUntil, Cron Jobs, Queues, Workflows, Daemons, or Sandbox. Compare the options and pick the right one for your workload.
- [Migrate Railway workers to Vercel Daemons](/kb/guide/migrate-railway-workers-to-vercel-daemons): Move Railway workers to Vercel Daemons with Docker configuration, broker migration, shutdown testing, a gradual queue handoff, and rollback.
- [Migrate Render background workers to Vercel Daemons](/kb/guide/migrate-render-workers-to-vercel-daemons): Migrate Render workers to Vercel Daemons. Translate render.yaml, package Celery in Docker, prepare the broker, and verify the queue handoff.
- [Migrate Fly.io worker processes to Vercel Daemons](/kb/guide/migrate-fly-io-workers-to-vercel-daemons): Migrate Fly.io workers to Vercel Daemons with your existing Dockerfile. Map process settings, preserve queue state, and plan cutover and rollback.
- [How to choose between Functions, containers, and Daemons on Vercel](/kb/guide/vercel-functions-containers-daemons): Choose Vercel Functions for HTTP requests, container images for custom runtimes, and Daemons for continuous background workers.
- [Run a Docker monolith with workers on Vercel](/kb/guide/docker-monolith-workers-vercel): Run a Dockerized monolith on Vercel with Container Images, move long-running workers to Vercel Queues and Vercel Workflows, and keep previews for every PR.
- [Deploy Symfony on Vercel with Docker](/kb/guide/symfony-php-with-docker): Build a Symfony application with FrankenPHP and Docker, then deploy it to Vercel with production configuration, external storage, and preview deployments.
- [Deploy Laravel on Vercel with Docker](/kb/guide/laravel-php-with-docker): Build a Laravel application with FrankenPHP and Docker, then deploy it to Vercel with production configuration, external storage, and preview deployments.
- [Vercel vs Kubernetes](/kb/guide/vercel-vs-kubernetes): Compare Vercel and Kubernetes on operational ownership, deployment workflow, scaling, and cost model to decide which platform fits your workload and team.
- [Full-stack previews on Vercel](/kb/guide/full-stack-preview-deployments-on-vercel): Learn how to use full-stack previews for your Vercel projects. Deploy Next.js, FastAPI, and a containerized Go service together in one project, then review every cross-service change through one preview URL.
- [Migrate from Fly.io to Vercel](/kb/guide/migrate-fly-io-to-vercel): Move an app from Fly.io to Vercel. Map configuration, choose Functions or Daemons, plan persistent storage, and verify the production cutover.
- [Deploy a Node.js Fastify app on Vercel with Docker](/kb/guide/deploy-nodejs-on-vercel-with-docker): Build a Node.js application with Fastify and Docker, then deploy it to Vercel Functions. Learn how to configure environment variables, managed storage, and preview deployments for your project.
- [Deploy ASP.NET Core on Vercel with Docker](/kb/guide/dot-net-asp-net-on-vercel-with-docker): Build a .NET application with Docker and deploy it to Vercel Functions. Learn how to configure environment variables, integrations, and preview deployments for your ASP.NET Core application.
- [Migrate from Google Cloud Run to Vercel](/kb/guide/migrate-cloud-run-to-vercel): Move a Cloud Run service or worker to Vercel. Compare runtimes, preserve Google Cloud access, and plan jobs, validation, and production cutover.
- [Migrate from Railway to Vercel](/kb/guide/migrate-railway-to-vercel): Migrate an app from Railway to Vercel. Choose a deployment path, configure services, plan for stored data, and test before switching production traffic.
- [Deploy Rust on Vercel with Docker](/kb/guide/deploy-rust-on-vercel-with-docker): Build a Rust application with Axum and Docker, then deploy it to Vercel Functions. Learn how to configure environment variables, managed storage, and preview deployments for your project.
- [Deploy PHP on Vercel with Docker](/kb/guide/deploy-php-on-vercel-with-docker): Build a PHP application with FrankenPHP and Docker, then deploy it to Vercel Functions with managed configuration, storage, and preview deployments.
- [Migrate from Render to Vercel](/kb/guide/migrate-render-to-vercel): Migrate from Render to Vercel: map web services, cron jobs, and containers to their equivalents, and handle what doesn't move.
- [Does Vercel support Docker deployments?](/kb/guide/does-vercel-support-docker-deployments): Vercel supports deploying OCI-compatible container images through Vercel Functions and Vercel Container Registry, with Active CPU pricing and automatic scaling.
- [How Docker Compose concepts map to Vercel](/kb/guide/docker-compose-concepts-on-vercel): Translate your Docker Compose file to Vercel: Compose services become Vercel Services, networks become bindings, and volumes become Marketplace databases and Vercel Blob.
- [How to test a container image in Vercel Sandbox before deploying](/kb/guide/test-container-image-vercel-sandbox): Validate a container image before deploying by booting it as a custom Sandbox image from Vercel Container Registry (VCR) or running Docker inside a Vercel Sandbox.
- [How to migrate from GHCR to Vercel Container Registry](/kb/guide/migrate-ghcr-to-vcr): Migrate container images from GitHub Container Registry (GHCR) to Vercel Container Registry (VCR), including authentication, multi-platform copies, and CI updates
- [Deploy Go apps on Vercel using Docker](/kb/guide/deploy-go-using-docker-vercel): Deploy an existing Dockerized Go app to Vercel using Memos as a real-world example, with Neon Postgres for durable data.
- [Deploy Python apps on Vercel using Docker](/kb/guide/vercel-docker-python-apps): Deploy a Dockerized Python application that depends on native software, OCR engines, or small local models, plus a Next.js frontend, on Vercel Services.
- [Running Docker on Vercel vs Render](/kb/guide/docker-on-vercel-vs-render): Compare how Vercel and Render run Docker workloads, including deployment model, scaling, image sources, state, and networking.
- [Running Docker on Vercel](/kb/guide/docker): Run Docker on Vercel for HTTP apps and background workers, store images in Vercel Container Registry, and test containers with Vercel Sandbox.
- [The Complete Guide to Vercel Services](/kb/guide/vercel-services): Vercel Services let you deploy multiple frontends and backends in one project on a shared domain. Learn how to define services in vercel.json, route requests by path prefix, and connect services with generated environment variables.

## Explore other topics in the Vercel Knowledge Base

- [Enterprise Apps and Agents](/kb/enterprise): Explore how enterprises build, deploy, and govern internal apps and AI agents. Learn about citizen development, shadow IT, shadow AI, access controls, and agent auditing, with guidance for turning employee-built tools into supported business applications.
- [AI](/kb/ai): Build AI-powered applications using Vercel's agentic infrastructure.
- [Vercel Sandbox](/kb/vercel-sandbox): Vercel Sandbox runs coding agents and AI workloads in isolated Firecracker microVMs. Snapshots and Drives carry work across sessions, and Active CPU pricing doesn't bill time spent waiting on models or I/O.
- [Retail](/kb/retail): Build resilient storefronts and e-commerce experiences that hold up when traffic spikes.

## Reference Architecture

Choose a stack and work through the decisions behind it, with curated documentation, guides, templates, and courses to help you build.

- [Agent stack](/kb/architecture/agents): Build and operate agents with models, tools, and durable workflows.
- [Web applications](/kb/architecture/web): Choose rendering, data, authentication, and caching approaches.
- [Backends](/kb/architecture/backends): Choose a runtime, connect services, and run background work.

[Browse all stacks](/kb/architecture)

## Build with prompts

Build an app, extend an agent, or improve your project with ready-to-use prompts for your coding agent.

[Browse the prompt library](/kb/prompts) · [Read the Markdown index](/kb/prompts.md)

## Search guides from your terminal

Search the Knowledge Base and read guides as Markdown with the Vercel CLI. No login required.

```bash
# Find guides by keyword
npx vercel@latest kb search "rewrites and redirects"
npx vercel@latest kb search "AI SDK streaming"

# Show the latest guides
npx vercel@latest kb

# Print a guide as Markdown, by slug or URL
npx vercel@latest kb inspect <guide>
```
