Answers are generated based on the documentation.

Guides

Step-by-step tutorials, organized by what you're trying to do.

of 97 guides

01

Languages & frameworks

Containerize and develop apps in your language of choice.

Node.js language-specific guide This guide explains how to containerize Node.js applications using Docker.
Angular language-specific guide This guide explains how to containerize Angular applications using Docker.
Bun language-specific guide Learn how to containerize JavaScript applications with the Bun runtime.
.NET language-specific guide Learn how to containerize .NET applications using Docker.
C++ language-specific guide This guide explains how to containerize C++ applications using Docker.
Deno language-specific guide Learn how to containerize JavaScript applications with the Deno runtime using Docker.
Go language-specific guide This guide teaches you how to containerize Go applications using Docker.
Java language-specific guide This guide demonstrates how to containerize Java applications using Docker.
Develop and Deploy Laravel applications with Docker Compose Learn how to efficiently set up Laravel development and production environments using Docker Compose.
Containerize a Next.js application This guide explains how to containerize Next.js applications and set up development and testing in containers.
PHP language-specific guide This guide explains how to containerize PHP applications using Docker.
Python language-specific guide This guide explains how to containerize Python applications using Docker.
R language-specific guide This guide details how to containerize R applications using Docker.
React.js language-specific guide This guide explains how to containerize React.js applications using Docker.
Ruby on Rails language-specific guide This guide explains how to containerize Ruby on Rails applications using Docker.
Rust language-specific guide This guide covers how to containerize Rust applications using Docker.
Vue.js language-specific guide This guide explains how to containerize Vue.js applications using Docker.

02

AI

Build AI-powered apps, agents, and integrations with Docker.

Use OpenCode with Docker Model Runner Connect OpenCode to Docker Model Runner with an OpenAI-compatible endpoint, choose coding models, and package gpt-oss with a larger context window.
Build and run agentic AI applications with Docker Learn how to create AI agent applications using Docker Model Runner, and MCP Toolkit.
Connect Gemini to Grafana via MCP Learn how to leverage the Model Context Protocol (MCP) to interact with Grafana dashboards and datasources directly from your terminal.
Data science with JupyterLab Use Docker to run Jupyter notebooks.
Face detection with TensorFlow.js This guide explains how to run TensorFlow.js in Docker containers.
Generate Docker Compose Files with Claude Code and Docker MCP Toolkit This guide shows how to wire Claude Code to the Docker MCP Toolkit so it can search Docker Hub images and generate complete Docker Compose stacks from natural language. You’ll enable the Docker Hub MCP server, connect Claude Code, verify MCP access, and create a Node.js + PostgreSQL stack with a conversational prompt.
Build a language translation app This guide demonstrates how to use Docker to deploy language translation models for NLP tasks.
Leveraging RAG in GenAI to teach new information This guide explains setting up a GenAI stack with Retrieval-Augmented Generation (RAG) and Neo4j, covering key concepts, deployment steps, and a case study. It also includes troubleshooting tips for optimizing AI performance with real-time data.
Build a named entity recognition app This guide explains how to containerize named entity recognition (NER) models using Docker.
PDF analysis and chat Learn how to build a PDF bot for parsing PDF documents and generating responses using Docker and generative AI.
Build a RAG application using Ollama and Docker This guide demonstrates how to use Docker to deploy Retrieval-Augmented Generation (RAG) models with Ollama.
Run Claude Code in a Docker Sandbox with Docker Model Runner Combine Docker Sandboxes with Docker Model Runner to run Claude Code in an isolated microVM that talks to a local model on your host through the Anthropic-compatible API.
Build a sentiment analysis app This guide demonstrates how to containerize sentiment analysis models using Docker.
Build a text recognition app This guide details how to containerize text classification models using Docker.
Build a text summarization app This guide shows how to containerize text summarization models with Docker.
Use Claude Code with Docker Model Runner Connect Claude Code to Docker Model Runner with the Anthropic-compatible API, package gpt-oss with a larger context window, and inspect requests.
GenAI video transcription and chat Learn how to build and deploy a generative AI video analysis and transcription bot using Docker.

03

Testing

Integration testing with real databases and services.

Testing an ASP.NET Core web app with Testcontainers Learn how to test an ASP.NET Core web app using Testcontainers for .NET with a real Microsoft SQL Server instance instead of SQLite.
Testing AWS service integrations using LocalStack Learn how to create a Spring Boot application with Spring Cloud AWS, then test S3 and SQS integrations using Testcontainers and LocalStack.
Testcontainers container lifecycle management using JUnit 5 Learn different approaches to manage container lifecycle with Testcontainers using JUnit 5 lifecycle callbacks, extension annotations, and the singleton containers pattern.
Working with jOOQ and Flyway using Testcontainers Generate typesafe jOOQ code from a real PostgreSQL database managed by Flyway migrations, then test repositories using Testcontainers.
Securing Spring Boot microservice using Keycloak and Testcontainers Learn how to create an OAuth 2.0 Resource Server using Spring Boot, secure API endpoints with Keycloak, and test the application using the Testcontainers Keycloak module.
Testing Micronaut Kafka Listener using Testcontainers Learn how to create a Micronaut application with a Kafka listener that persists data in MySQL, then test it using Testcontainers Kafka and MySQL modules with Awaitility.
Testing REST API integrations in Micronaut apps using WireMock Learn how to create a Micronaut application that integrates with external REST APIs, then test those integrations using WireMock and the Testcontainers WireMock module.
Mocking API services in development and testing with WireMock Mocking API services in development and testing with WireMock
Mocking OAuth services in testing with Dex Mocking OAuth services in testing with Dex
Testing REST API integrations using MockServer Learn how to create a Spring Boot application that integrates with external REST APIs, then test those integrations using Testcontainers and MockServer.
Testing Quarkus applications with Testcontainers Learn how to create a Quarkus REST API with Hibernate ORM with Panache and PostgreSQL, then test it using Quarkus Dev Services, Testcontainers, and REST Assured.
Replace H2 with a real database for testing Replace your H2 in-memory test database with a real PostgreSQL instance using the Testcontainers special JDBC URL — a one-line change.
Configuration of services running in a container Learn how to initialize and configure Docker containers for testing by copying files into containers and executing commands inside them.
Testing Spring Boot Kafka Listener using Testcontainers Learn how to create a Spring Boot application with a Kafka listener that persists data in MySQL, then test it using Testcontainers Kafka and MySQL modules with Awaitility.
Testing a Spring Boot REST API with Testcontainers Learn how to create a Spring Boot REST API with Spring Data JPA and PostgreSQL, then test it using Testcontainers and REST Assured.
Mastering Testcontainers Cloud by Docker: streamlining integration testing with containers Automate, scale, and optimize testing workflows with Testcontainers Cloud
Getting started with Testcontainers for .NET Learn how to create a .NET application and test database interactions using Testcontainers for .NET with a real PostgreSQL instance.
Getting started with Testcontainers for Go Learn how to create a Go application and test database interactions using Testcontainers for Go with a real PostgreSQL instance.
Getting started with Testcontainers for Java Learn how to create a Java application and test database interactions using Testcontainers for Java with a real PostgreSQL instance.
Getting started with Testcontainers for Node.js Learn how to create a Node.js application and test database interactions using Testcontainers for Node.js with a real PostgreSQL instance.
Getting started with Testcontainers for Python Learn how to create a Python application and test database interactions using Testcontainers for Python with a real PostgreSQL instance.
Testing REST API integrations using WireMock Learn how to create a Spring Boot application that integrates with external REST APIs, then test those integrations using Testcontainers and WireMock.

04

CI/CD

Automate builds, tests, and deployments in your pipelines.

How to build an AI-powered code quality workflow with SonarQube and E2B Build AI-powered code quality workflows using E2B sandboxes with Docker's MCP catalog to automate GitHub and SonarQube integration.
Introduction to Azure Pipelines with Docker Learn how to automate Docker image build and push using Azure Pipelines.
Building Compose projects with Bake This guide demonstrates how you can use Bake to build production-grade images for Docker Compose projects.
Faster development and testing with container-supported development Containers don't have to be just for your app. Learn how to run your app's dependent services and other debugging tools to enhance your development environment.
Docker Build Cloud: Reclaim your time with fast, multi-architecture builds Build applications up to 39x faster using cloud-based resources, shared team cache, and native multi-architecture support.
Defining and running multi-container applications with Docker Compose Simplify the process of defining, configuring, and running multi-container Docker applications.
Introduction to GitHub Actions with Docker Learn how to automate image build and push with GitHub Actions.
Instrumenting a JavaScript App with OpenTelemetry Learn how to instrument a JavaScript application using OpenTelemetry in a Dockerized environment.
Mastering multi-platform builds, testing, and more with Docker Buildx Bake Learn to automate Docker builds and testing with declarative configurations using Buildx Bake.
Monitor a Golang application with Prometheus and Grafana Learn how to containerize a Golang application and monitor it with Prometheus and Grafana.

05

Security

Harden images, scan vulnerabilities, and secure your supply chain.

Explore VEX statements in Docker Hardened Images Scan a Docker Hardened Image with and without VEX and audit every suppression and its justification.
Containerize a Django application This guide shows how to containerize a Django application using Docker. You'll scaffold the project with uv, create a production-ready Dockerfile using a Docker Hardened Image, then add a development stage and Compose Watch for fast iteration.
Securing your software supply chain with Docker Scout Enhance container security by automating vulnerability detection and remediation.
Secure a Backstage application with Docker Hardened Images Learn how to secure a Backstage developer portal using Docker Hardened Images (DHI), handle native module compilation with better-sqlite3, add Socket Firewall protection during dependency installation, and produce a distroless runtime image using DHI customizations.
Use Docker Hardened Images with Red Hat OpenShift Learn how to deploy Docker Hardened Images (DHI) on Red Hat OpenShift, configure Security Context Constraints, handle arbitrary user ID assignment, and set file permissions for both runtime and development image variants.

06

Databases

Run and connect to databases in containers.

Develop and test AWS Cloud applications using LocalStack and Docker This guide explains how to use Docker to run LocalStack, a local AWS cloud stack emulator.
PostgreSQL specific guide This guide explains how to containerize PostgreSQL databases using Docker.
Pre-seeding database with schema and data at startup for development environment Pre-seeding database with schema and data at startup for development environment
Use containerized databases Learn how to effectively run and manage databases as containers.
Visualizing your PostgreSQL databases with pgAdmin Explore how to add pgAdmin to your development stack and make it as easy as possible for your teammates to navigate through your PostgreSQL databases.

07

Deployment

Deploy containerized apps to Kubernetes and other platforms.

Deploy to Kubernetes Learn how to deploy and orchestrate Docker containers using Kubernetes.
Deploy to Swarm Discover how to deploy and manage Docker containers using Docker Swarm.
Deployment and orchestration Explore the essentials of container orchestration with Docker.
Developing event-driven applications with Kafka and Docker This guide explains how to run Apache Kafka in Docker containers.
HTTP routing with Traefik Use Traefik to easily route traffic between multiple containers or non-containerized workloads
Introduction to ROS 2 Development with Docker This guide details how to containerize ROS 2 applications using Docker.

08

Admin

Manage Docker organizations, users, and access controls.

Set up your company for success with Docker Get the most out of Docker by streamlining workflows, standardizing development environments, and ensuring smooth deployments across your company.
Mastering user and access management Simplify user access while ensuring security and efficiency in Docker.
Using Docker with Zscaler This guide explains how to embed Zscaler's root certificate into Docker images, allowing containers to operate securely with Zscaler proxies and avoid SSL errors.

09

Hands-on labs

Interactive, guided labs you can run directly in your browser.

Lab: AI Fundamentals for Developers Hands-on lab: Learn the four core pillars of AI application development. Work with the Chat Completions API, prompt engineering, tool calling, and RAG through interactive exercises.
Lab: Building an AI Product Reviewer Hands-on lab: Build an AI pipeline that classifies product reviews by sentiment, clusters them by topic using embeddings, extracts actionable features, and generates context-aware responses — all running locally.
Lab: Building Agentic Apps with Docker Hands-on lab: Build agentic apps with Docker Model Runner, MCP Gateway, and Compose. Learn about models, tools, and agentic frameworks.
Lab: Building Container Images Hands-on lab: Transform a basic Dockerfile into a production-ready image. Master layer caching, multi-stage builds, .dockerignore, non-root users, base image selection, and build secrets.
Lab: Container-Supported Development Hands-on lab: Run dependent services in containers during local development. Start a PostgreSQL database, write a compose.yaml, and add a database visualizer — all without installing anything on the host.
Lab: Getting Started with Docker Agent Hands-on lab: Create, share, and orchestrate intelligent AI agents using Docker Agent, MCP Toolkit, and Docker.
Lab: Getting Started with Docker Hands-on lab: Run your first containers, write a Dockerfile, build a custom image from a Node.js app, and optionally push it to Docker Hub.
Lab: Docker Compose Quickstart Hands-on lab: Define and run a multi-container app with Docker Compose. Progress from a bare compose.yaml through health checks, live development with watch mode, data persistence, and modular Compose file composition.
Lab: Docker MCP Gateway Hands-on lab: Configure, secure, and connect MCP servers to your agentic applications using the Docker MCP Gateway.
Lab: Container Image Attestations Hands-on lab: Add supply chain metadata to a container image. Generate SBOMs and SLSA provenance with BuildKit, sign images with Cosign, and attach OpenVEX statements to declare vulnerability exploitability status.
Lab: Migrating a Node App to Docker Hardened Images Hands-on lab: Replace a Node.js base image with a Docker Hardened Image. Analyze CVEs with Docker Scout, rewrite the Dockerfile to use multi-stage builds with DHI, and explore SBOMs, VEX, and compliance attestations.
Lab: The Containerized SDLC Hands-on lab: Take a Node.js app from source to live Kubernetes deployment using Docker Compose, Testcontainers, Gitea Actions CI/CD, and kubectl — with containers at every stage of the SDLC.

No guides match “”.