# Run an app in a Realm with Arm CCA

## In this learning path

- [Introduction](https://learn.arm.com/learning-paths/servers-and-cloud-computing/cca-container/)
- [Overview: Realms](https://learn.arm.com/learning-paths/servers-and-cloud-computing/cca-container/overview/)
- [Run the Arm CCA stack using a pre-built docker container](https://learn.arm.com/learning-paths/servers-and-cloud-computing/cca-container/cca-container/)
- [Run an application in a Realm](https://learn.arm.com/learning-paths/servers-and-cloud-computing/cca-container/hello-realm/)
- [Use memory encryption](https://learn.arm.com/learning-paths/servers-and-cloud-computing/cca-container/cca-mec/)
- [Next Steps](https://learn.arm.com/learning-paths/servers-and-cloud-computing/cca-container/_next-steps/)

## About this Learning Path

### Skill level:
Introductory

### Reading time:
2 hrs

### Last updated:
03 Nov 2026

### Authors:
- Pareena Verma, Arm
  - [GitHub](https://github.com/pareenaverma)
  - [LinkedIn](https://linkedin.com/in/pareena-verma-7853607)
- Arnaud de Grandmaison, Arm
  - [GitHub](https://github.com/Arnaud-de-Grandmaison-ARM)
  - [LinkedIn](https://linkedin.com/in/arnauddegrandmaison)

### Arm IP:
[Neoverse](https://support.arm.com/?tab=compute-ip&Product%20Type=Infrastructure%20Processors)

### Tags:
- [Performance and Architecture](https://learn.arm.com/tag/performance-and-architecture/)
- [Linux](https://learn.arm.com/tag/linux)
- [GCC](https://learn.arm.com/tag/gcc)
- [FVP](https://learn.arm.com/tag/fvp)
- [RME](https://learn.arm.com/tag/rme)
- [CCA](https://learn.arm.com/tag/cca)
- [Docker](https://learn.arm.com/tag/docker)
- [Runbook](https://learn.arm.com/tag/runbook)

## Who is this for?

This is an introductory topic for software developers who want to learn how to run their applications in a Realm using the Arm Confidential Compute Architecture (CCA).

## What will you learn?

After completing this Learning Path, you'll be able to perform the following tasks:

- Run the Arm reference CCA software stack on an Armv-A AEM Base FVP (Fixed Virtual Platform) with support for RME extensions.
- Create a virtual machine in a Realm running guest Linux using a pre-built docker container.
- Run a simple application in a Realm running guest Linux.
- Obtain a CCA attestation token from the virtual guest in a Realm.
- Run the CCA software stack using MEC (Memory Encryption Contexts).

## Prerequisites

Before starting, you'll need the following prerequisites:

- An AArch64 or x86_64 computer running Linux or macOS. You can use cloud instances, refer to the list of [Arm cloud service providers](https://learn.arm.com/learning-paths/servers-and-cloud-computing/csp/).

## Summary

You’ll run the Arm Confidential Compute Architecture (CCA) reference software stack on an Armv‑A AEM Base FVP with Realm Management Extension (RME) support using a pre-built Docker image. First, you’ll boot a guest Linux virtual machine as a Realm, then inject and run a simple application inside that Realm so the program inherits the Realm’s confidential protections. You’ll also obtain a CCA attestation token from the Realm guest and learn about Memory Encryption Contexts (MEC) and how the CCA stack can run with multiple encryption contexts in the Realm Physical Address Space. By the end, you’ll see the Realm guest launch, run the injected app, and produce an attestation token.
