Files
docker-docs/content/guides/cpp/_index.md
Mohammad-Ali A'RÂBI 25d4796019 Add multi-stage builds to the C++ guide (#21562)
## Description

Having a multi-stage build is an essential thing to learn for
containerizing a compiled language.

## Related issues or tickets

N/A

## Reviews

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review
2025-02-27 09:24:01 -08:00

1.4 KiB

title, linkTitle, description, keywords, summary, toc_min, toc_max, aliases, languages, params
title linkTitle description keywords summary toc_min toc_max aliases languages params
C++ language-specific guide C++ Containerize and develop C++ applications using Docker. getting started, c++ This guide explains how to containerize C++ applications using Docker. 1 2
/language/cpp/
/guides/language/cpp/
cpp
time
20 minutes

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