Gramine is a lightweight library-operating system (Library OS) designed to run unmodified Linux applications with minimal dependencies on the host OS, and to offer enhanced isolation and portability. It was formerly known as Graphene, but the project renamed to Gramine to avoid naming conflicts and to reflect its broader ambition beyond the original research prototype. The idea is that instead of running a full guest OS in a VM, you embed your application inside Gramine, which handles the system-call interface, process and thread management, file system, and network abstractions — everything the application expects — but strips out the overhead and complexity of a full OS stack. One particularly strong use-case is confidential computing: Gramine supports Intel® SGX enclaves, allowing applications to run inside hardware-protected memory regions even while using standard Linux binaries with minimal porting effort.

Features

  • Runs unmodified Linux application binaries in a minimal library OS (Library OS) rather than requiring full guest OS overhead
  • Supports Intel® SGX enclaves for confidential computing, enabling hardware-based memory and execution protection
  • Manifest file configuration that defines environment, file system layout, attestation settings, and isolation policies
  • Multi-process and multi-thread support (fork, exec, signals, IPC) in the library OS environment
  • Integration with container workflows (via Gramine Shielded Containers) so traditional Docker/OCI images can target secure/isolated runtime
  • Designed for portability and minimal host dependencies, enabling easier “lift and shift” of workloads from bare metal, cloud or edge environments into more isolated execution contexts

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

GNU Library or Lesser General Public License version 3.0 (LGPLv3)

Follow Gramine

Gramine Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Gramine!

Additional Project Details

Operating Systems

Linux

Programming Language

C

Related Categories

C Libraries

Registered

2025-11-21