---
title: "Installing Data Exchange Framework on containers"
slug: "installing-data-exchange-framework-on-containers"
abstract: "Introduction to installing Data Exchange Framework in a container environment using Docker or Azure Kubernetes Service."
---
# Installing Data Exchange Framework on containers

This section explains how to add the Data Exchange Framework (DEF) to a Sitecore environment running on containers using Docker and Azure Kubernetes Service.

<details>
<summary><h2>Requirements</h2></summary>

Before you deploy DEF to Docker or AKS, you must have the following:

- Docker Desktop must be installed and running. For instructions on how to set up the Docker environment, see the documentation.
- If the installation is done on Docker, you must have the Sitecore Docker container files deployed on a local machine. For instructions on how to prepare the Sitecore containers, see the *Installation Guide for Developer Workstation with Containers* on the .
- If the installation is done on Kubernetes, you must the Sitecore AKS container files deployed on a local machine. For instructions on how to prepare a Sitecore environment with Kubernetes, see the *Installation Guide for Production Environment with Kubernetes* on the .

</details>

<details>
<summary><h2>Sitecore topologies, containerized roles, and the DEF module</h2></summary>

For each Sitecore deployment topology, the following table lists the containerized Sitecore roles where you deploy the DEF module. The information applies to both Docker and Kubernetes deployments.

| Containerized role | Sitecore topology and the DEF module |  |  |
| --- | --- | --- | --- |
|  | **XP1** | **XP0 (Docker only)** | **XM1** |
| CD (content delivery) | Yes | Not applicable | Not applicable |
| CM (content management) | Yes | Yes | Not applicable |
| ID (Identity service) | Yes | Yes | Not applicable |
| xdbautomationworker | Yes | Yes | Not applicable |

</details>