instruction: Explain Docker containerization and best practices
output: Back
  Ask AI
  Start typing to search or try
  Contact support
  Guides
  Get started
  Manuals
  C++ language-specific guide
  This guide explains how to containerize C++ applications using Docker.
  20 minutes
  Containerize your app using a multi-stage build
  Build and run a C++ application using Docker Compose
  Develop your app
  Configure CI/CD
  Test your deployment
  Supply-chain security
  Â« Back to all guides
  C++ language-specific guide
  The C++ getting started guide teaches you how to create a containerized C++ application using Docker. In this guide, you'll learn how to:
  Acknowledgment
  Docker would like to thank
  Pradumna Saraf
  Mohammad-Ali A'rÃ¢bi
  for their contribution to this guide.
  Containerize and run a C++ application using a multi-stage Docker build
  Build and run a C++ application using Docker Compose
  Set up a local environment to develop a C++ application using containers
  Configure a CI/CD pipeline for a containerized C++ application using GitHub Actions
  Deploy your containerized application locally to Kubernetes to test and debug your deployment
  Use BuildKit to generate SBOM attestations during the build process
  After completing the C++ getting started modules, you should be able to containerize your own C++ application based on the examples and instructions provided in this guide.
  Start by containerizing an existing C++ application.
  Modules
  Containerize your app using a multi-stage build
  Learn how to create a multi-stage build for a C++ application.
  Build and run a C++ application using Docker Compose
  Learn how to use Docker Compose to build and run a C++ application.
  Develop your app
  Learn how to develop your C++ application locally.
  Configure CI/CD
  Learn how to configure CI/CD using GitHub Actions for your C++ application.
  Test your deployment
  Learn how to develop locally using Kubernetes
  Supply-chain security
  Learn how to extract SBOMs from C++ Docker images.