Introduction to Gramine

Gramine is a lightweight guest OS, designed to run a single Linux application with minimal host requirements. Gramine can run applications in an isolated environment with benefits comparable to running a complete OS in a virtual machine – including guest customization, ease of porting to different host OSes, and process migration.

Gramine supports running Linux applications using the Intel SGX (Software Guard Extensions) technology (we sometimes call this version Gramine-SGX). With Intel SGX, applications are secured in hardware-encrypted memory regions (called SGX enclaves). SGX protects code and data in the enclave against privileged software attacks and against physical attacks on the hardware off the CPU package (e.g., cold-boot attacks on RAM). Gramine is able to run unmodified applications inside SGX enclaves, without the toll of manually porting the application to the SGX environment.

External documentation

This website contains the official documentation of Gramine. For external contributions and additional resources, please visit Note that this link contains unofficial documents; these documents are not guaranteed to always be up-to-date and correct.

GSC documentation

For GSC (Gramine Shielded Containers) documentation please visit

Building and running Gramine

See Quick start for instructions how to quickly install and run Gramine. For full build instructions, see Building. To deploy Gramine in the cloud, see Cloud Deployment.

Contacts and Contributing

For bug reports, post an issue on our GitHub repository:

For any questions, please send an email to (public archive).

If you want to contribute to the project, please see Contributing to Gramine and Onboarding. Thank you for your interest!

Table of Contents


Indices and tables