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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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