🐳

Container Runtime

advanced

Docker/Podman alternative - OCI-compliant container runtime

Docker/Podman alternatifi - OCI uyumlu container runtime

Estimated Time
⏱️ 3-6 months
Essential Crates
📦 5
Reference Projects
🔗 2

Tags

linuxcontainersnamespacescgroupsoci

Required Crates

Essential

nix
Linux syscalls

Linux sistem cagrilari

crates.io →
nix = { version = "0.27", features = ["sched", "mount", "signal"] }
oci-spec
OCI runtime standard

OCI runtime standardi

crates.io →
oci-spec = "0.6"
caps
Linux capabilities

Linux yetenekleri

crates.io →
caps = "0.5"
seccompiler
Syscall filtering

Syscall filtreleme

crates.io →
seccompiler = "0.4"
cgroups-rs
Cgroup management

Cgroup yonetimi

crates.io →
cgroups-rs = "0.3"

Optional

walkdir
Filesystem traversal

Dosya sistemi tarama

crates.io →
walkdir = "2"
tar
Image layer extraction

Image layer cikarma

crates.io →
tar = "0.4"

Starter Template

Copy this Cargo.toml to get started:

[package]
name = "my-container-runtime"
version = "0.1.0"
edition = "2021"

[dependencies]
nix = { version = "0.27", features = ["sched", "mount", "signal"] }
oci-spec = "0.6"
caps = "0.5"
seccompiler = "0.4"
cgroups-rs = "0.3"
walkdir = "2"
tar = "0.4"
thiserror = "1"
tracing = "0.1"

Related Patterns

Learn these patterns to build this project effectively:

Reference Projects

Study these open-source projects for inspiration:

Other System & Container Projects