Home Explore Blog CI



docker

content/guides/cpp/_index.md
9602e3b4860cb7f812410717808d7bf7ba578c31d327b7890000000300000570
---
title: C++ language-specific guide
linkTitle: C++
description: Containerize and develop C++ applications using Docker.
keywords: getting started, c++
summary: |
  This guide explains how to containerize C++ applications using Docker.
toc_min: 1
toc_max: 2
aliases:
  - /language/cpp/
  - /guides/language/cpp/
languages: [cpp]
params:
  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](https://twitter.com/pradumna_saraf) and [Mohammad-Ali A'râbi](https://twitter.com/MohammadAliEN) 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.

Chunks
709a9df1 (1st chunk of `content/guides/cpp/_index.md`)
Title: Introduction to Containerizing C++ Applications with Docker
Summary
This guide introduces how to containerize C++ applications using Docker. It covers containerizing a C++ application using multi-stage builds and Docker Compose, setting up a local development environment, configuring a CI/CD pipeline with GitHub Actions, deploying to Kubernetes for testing, and using BuildKit for SBOM attestation.