# kata-containers/kata-containers

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/kata-containers-kata-containers).**

8,106 stars · 1,356 forks · Rust · Apache-2.0

## Links

- GitHub: https://github.com/kata-containers/kata-containers
- awesome-repositories: https://awesome-repositories.com/repository/kata-containers-kata-containers.md

## Topics

`acrn` `containers` `cri` `cri-o` `docker` `firecracker` `k8s` `kubernetes` `kvm` `oci` `qemu` `security` `virtual-machine` `virtualization`

## Description

Kata Containers is an OCI container runtime that launches containers inside lightweight virtual machines to combine hardware-level isolation with container operational speed. It functions as a hardware-isolated container engine and lightweight VM hypervisor, providing a virtual machine monitor interface that abstracts multiple hypervisors to optimize for performance or specific hardware emulation.

The project distinguishes itself through a confidential computing runtime that leverages hardware-backed trusted execution environments, such as Intel TDX and AMD SEV-SNP, to protect data in use. It further enhances performance and security via direct-device hardware passthrough for GPUs and high-performance networking using SR-IOV and vhost-user.

The runtime covers a broad range of capabilities, including guest operating system image engineering, the coordination of sandbox resources, and advanced monitoring and observability via distributed request tracing and guest console access. It also implements performance optimizations such as template-based VM cloning for accelerated boot times and memory access optimization through direct access filesystem features.

The system supports cross-architecture execution across x86, ARM, Power, and IBM Z hardware, with configuration managed through TOML files.

## Tags

### DevOps & Infrastructure

- [Virtual Machine Containers](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/container-runtimes/virtual-machine-containers.md) — Provides isolated instances that encapsulate full operating systems within container-like structures using hardware virtualization. ([source](https://github.com/kata-containers/kata-containers/blob/main/src/runtime))
- [OCI Runtime Implementations](https://awesome-repositories.com/f/devops-infrastructure/oci-runtime-implementations.md) — Implements OCI runtime specifications and shim APIs to launch containers inside lightweight virtual machines. ([source](https://github.com/kata-containers/kata-containers/blob/main/docs/design/architecture))
- [Container Isolation Technologies](https://awesome-repositories.com/f/devops-infrastructure/container-isolation-technologies.md) — Uses virtualization backends to isolate workloads from the host kernel while maintaining standard container semantics.
- [Container Lifecycle Managers](https://awesome-repositories.com/f/devops-infrastructure/container-lifecycle-managers.md) — Implements a background manager that handles the creation, execution, and monitoring of hardware-virtualized container processes. ([source](https://github.com/kata-containers/kata-containers/blob/main/src/agent))
- [Container Orchestration Integrations](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration-integrations.md) — Provides integration with standard container orchestrators to manage workloads within cluster environments. ([source](https://github.com/kata-containers/kata-containers/blob/main/src/runtime))
- [Container Runtime Integrations](https://awesome-repositories.com/f/devops-infrastructure/container-runtime-integrations.md) — Uses a shim-based architecture to integrate with container managers while managing VM lifecycles.
- [Virtual Machine Lifecycle Management](https://awesome-repositories.com/f/devops-infrastructure/virtual-machine-lifecycle-management.md) — Integrates lightweight virtual machines with container runtimes to manage pod lifecycles at scale.
- [Virtualization Managers](https://awesome-repositories.com/f/devops-infrastructure/virtualization-managers.md) — Manages the lifecycle of lightweight virtual machines optimized specifically for container workloads. ([source](https://github.com/kata-containers/kata-containers/blob/main/src/dragonball))
- [Guest OS Image Engineering](https://awesome-repositories.com/f/devops-infrastructure/guest-os-image-engineering.md) — Builds and optimizes minimal kernels and root filesystems tailored for booting lightweight virtual machines.
- [Multi-Container VM Hosting](https://awesome-repositories.com/f/devops-infrastructure/multi-container-vm-hosting.md) — Enables pod-based architectures by launching several containers within a single virtual machine. ([source](https://github.com/kata-containers/kata-containers/blob/main/docs/design/architecture))
- [Security Profiles](https://awesome-repositories.com/f/devops-infrastructure/system-configuration-profiles/security-profiles.md) — Applies seccomp security profiles to restrict available system calls within the guest agent. ([source](https://github.com/kata-containers/kata-containers/blob/main/docs/Developer-Guide.md))
- [VM Template Cloning](https://awesome-repositories.com/f/devops-infrastructure/vm-template-cloning.md) — Reduces startup time for new containers by cloning pre-created virtual machines using templating and caching. ([source](https://github.com/kata-containers/kata-containers/wiki/Glossary))
- [Direct Access Mappings](https://awesome-repositories.com/f/devops-infrastructure/volume-mounts/host-guest-mounts/direct-access-mappings.md) — Maps the host guest image into the root filesystem as a memory-mapped device using direct access filesystem features. ([source](https://github.com/kata-containers/kata-containers/blob/main/docs/design/architecture))

### Software Engineering & Architecture

- [Hardware-Level Isolation](https://awesome-repositories.com/f/software-engineering-architecture/execution-control/namespace-isolation/namespace-provisioners/container-isolation/hardware-level-isolation.md) — Launches containers inside dedicated virtual machines to combine hardware-level security with container speed. ([source](https://github.com/kata-containers/kata-containers/blob/main/docs/design/architecture))

### Part of an Awesome List

- [Trusted Execution Environments](https://awesome-repositories.com/f/awesome-lists/security/trusted-execution-environments.md) — Leverages hardware-backed trusted execution environments like Intel TDX and AMD SEV-SNP to isolate sensitive data in use.
- [DevOps & Infrastructure](https://awesome-repositories.com/f/awesome-lists/devops/devops-infrastructure.md) — Lightweight VMs with container-like performance.

### Operating Systems & Systems Programming

- [Sandbox Resource Management](https://awesome-repositories.com/f/operating-systems-systems-programming/kernel-core-internals/process-and-memory-management/process-isolation/sandbox-resource-management.md) — Coordinates the lifecycle of networking, shared filesystems, and cgroups within an isolated sandbox environment. ([source](https://github.com/kata-containers/kata-containers/blob/main/docs/design/architecture_4.0))
- [VSOCK Communication](https://awesome-repositories.com/f/operating-systems-systems-programming/kernel-core-internals/system-programming-primitives/inter-process-communication/pipe-based-communication/vsock-communication.md) — Uses VSOCK-based socket communication to coordinate container lifecycle operations between the host and guest.
- [Host-to-Guest RPCs](https://awesome-repositories.com/f/operating-systems-systems-programming/keyboard-input-modes/host-to-guest-translation/host-to-guest-rpcs.md) — Employs a remote procedure call system to execute container operations and security hooks inside the guest environment.
- [Guest Agent RPCs](https://awesome-repositories.com/f/operating-systems-systems-programming/virtualization-emulation/host-guest-integration-tools/guest-agent-rpcs.md) — Implements a remote procedure call system to coordinate container operations inside the guest OS. ([source](https://github.com/kata-containers/kata-containers/blob/main/src/runtime-rs))
- [Hypervisors](https://awesome-repositories.com/f/operating-systems-systems-programming/virtualization-emulation/hypervisors.md) — Implements a virtualization layer that creates and runs lightweight virtual machines optimized for container security and performance.
- [Hypervisor Backend Integrations](https://awesome-repositories.com/f/operating-systems-systems-programming/virtualization-emulation/virtualization-platforms/virtualization-technologies/virtual-machines/hypervisor-backend-integrations.md) — Provides an abstraction layer to interface with and swap between multiple different native hypervisors.
- [Hypervisor-Runtime Integrations](https://awesome-repositories.com/f/operating-systems-systems-programming/hypervisor-runtime-integrations.md) — Eliminates communication overhead and accelerates startup times by integrating the monitor directly into the runtime lifecycle. ([source](https://github.com/kata-containers/kata-containers/blob/main/docs/design/architecture_4.0))
- [Page Cache Bypass Optimizations](https://awesome-repositories.com/f/operating-systems-systems-programming/page-cache-bypass-optimizations.md) — Improves file system operation performance by bypassing the page cache and virtual memory subsystems. ([source](https://github.com/kata-containers/kata-containers/wiki/Glossary))
- [Root Filesystem Generators](https://awesome-repositories.com/f/operating-systems-systems-programming/root-filesystem-generators.md) — Generates distribution-specific root filesystems to serve as the foundational base for container workloads. ([source](https://github.com/kata-containers/kata-containers/blob/main/tools/osbuilder))
- [Boot Image Generation](https://awesome-repositories.com/f/operating-systems-systems-programming/system-administration-maintenance/base-image-distributions/customized-installation-media/boot-image-generation.md) — Creates bootable initrd or disk images from root filesystems, incorporating specific kernel modules for hardware compatibility. ([source](https://github.com/kata-containers/kata-containers/blob/main/tools/osbuilder))
- [Guest Workload Booting](https://awesome-repositories.com/f/operating-systems-systems-programming/system-administration-maintenance/base-image-distributions/customized-installation-media/boot-image-generation/guest-workload-booting.md) — Starts lightweight virtual machines using either compact initrd images or full rootfs images. ([source](https://github.com/kata-containers/kata-containers/blob/main/docs/Developer-Guide.md))
- [Host-to-Guest File Sharing](https://awesome-repositories.com/f/operating-systems-systems-programming/system-administration-maintenance/file-system-management/file-system-integration/host-to-guest-file-sharing.md) — Uses the Virtio-fs protocol to share host directories with guest virtual machines for high-performance data exchange.
- [Guest Image Engineering](https://awesome-repositories.com/f/operating-systems-systems-programming/virtualization-emulation/host-guest-integration-tools/guest-operating-systems/guest-image-engineering.md) — Builds and optimizes minimal kernels and root filesystems tailored for booting lightweight virtual machines. ([source](https://github.com/kata-containers/kata-containers#readme))
- [Hardware Passthrough](https://awesome-repositories.com/f/operating-systems-systems-programming/virtualization-emulation/virtualization-platforms/virtualization-infrastructure/hardware-passthrough.md) — Maps physical hardware like GPUs and SR-IOV functions directly into virtual machines for high performance.
- [Cross-Architecture Virtualization](https://awesome-repositories.com/f/operating-systems-systems-programming/virtualization-emulation/virtualization-platforms/virtualization-platforms/cross-architecture-virtualization.md) — Supports the deployment of 64-bit systems across x86, ARM, Power, and IBM Z hardware using native virtualization. ([source](https://github.com/kata-containers/kata-containers/blob/main/README.md))
- [Monitor Interfaces](https://awesome-repositories.com/f/operating-systems-systems-programming/virtualization-emulation/virtualization-platforms/virtualization-technologies/virtual-machines/monitor-interfaces.md) — Provides a virtual machine monitor interface that abstracts multiple hypervisors to optimize for performance or hardware emulation.
- [VM Template Cloning](https://awesome-repositories.com/f/operating-systems-systems-programming/vm-template-cloning.md) — Accelerates container startup by cloning pre-created virtual machines instead of performing full cold boots.

### Security & Cryptography

- [Confidential Computing Runtimes](https://awesome-repositories.com/f/security-cryptography/confidential-computing-runtimes.md) — Provides a secure environment leveraging Intel TDX and AMD SEV-SNP to protect data in use via hardware-backed isolation.
- [Confidential Computing](https://awesome-repositories.com/f/security-cryptography/hardware-backed-security/confidential-computing.md) — Leverages hardware-backed trusted execution environments like Intel TDX and AMD SEV-SNP to protect data in use. ([source](https://github.com/kata-containers/kata-containers/blob/main/docs/hypervisors.md))
- [Trusted Execution Environments](https://awesome-repositories.com/f/security-cryptography/hardware-backed-security/trusted-execution-environments.md) — Leverages Intel TDX and AMD SEV-SNP to protect data in use via hardware-backed confidential computing.
- [Secure Enclaves](https://awesome-repositories.com/f/security-cryptography/hardware-security-module-integrations/secure-enclaves.md) — Utilizes secure enclaves and trusted execution environments to isolate sensitive code and data from the host. ([source](https://github.com/kata-containers/kata-containers/tree/main/docs))
- [System Call Surface Minimizers](https://awesome-repositories.com/f/security-cryptography/attack-surface-analysis/system-call-surface-minimizers.md) — Restricts the available system call interface within the guest environment to reduce the attack surface. ([source](https://github.com/kata-containers/kata-containers/wiki/Glossary))
- [Repository Security Policies](https://awesome-repositories.com/f/security-cryptography/infrastructure-policy-enforcement/security-policy-enforcers/repository-security-policies.md) — Verifies image signatures and applies integrity policies during the container image pulling process. ([source](https://github.com/kata-containers/kata-containers/blob/main/src/agent))
- [Mandatory Access Control](https://awesome-repositories.com/f/security-cryptography/mandatory-access-control.md) — Enforces mandatory access control within the guest operating system using SELinux. ([source](https://github.com/kata-containers/kata-containers/blob/main/docs/Developer-Guide.md))

### Networking & Communication

- [High-Performance Networking](https://awesome-repositories.com/f/networking-communication/high-performance-networking.md) — Implements high-performance networking using SR-IOV and vhost-user for direct hardware access. ([source](https://github.com/kata-containers/kata-containers/tree/main/docs))
