---
isPrivate: true
title: Build the Datadog Cluster Agent
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Containers > Containers FAQ > Build the Datadog Cluster Agent
---

# Build the Datadog Cluster Agent

The Datadog Cluster Agent should be used in a containerized ecosystem. To build it:

1. Clone the [DataDog/datadog-agent GitHub repository](https://github.com/DataDog/datadog-agent/)
1. In the `datadog-agent/` folder downloaded, create the binary by running `inv -e cluster-agent.build`. This adds a binary in `./bin/datadog-cluster-agent/`
1. Then from the same folder, run `inv -e cluster-agent.image-build`.
