I built an OCI container runtime in Python(for fun)
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
HN · launched Dec 25, 2025 · 7 upvotes (top 64%) · 1 view
Niche: scripting and execution runtimes · 56 launches, 4 in the last 7 days · Explore this niche →
Category and tags
- Horizontal
- Dev tools
- Developer
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 56 launches in scripting and execution runtimes →
Could you build this?
Partial A toy educational script can execute containers via Python subprocesses, but a compliant OCI container runtime requires configuring raw Linux cgroups, namespaces, and mount points.
What it would actually take: Requires using Python's `ctypes` to interface with Linux system calls: `unshare(2)`, `clone(2)`, `setns(2)`, `pivot_root(2)`, and configuring cgroups v2 filesystems directly. The primary challenge is implementing the OCI Runtime Specification faithfully, unpacking OCI rootfs tarballs, and isolating process namespaces without reliance on Docker or runc. Requires Linux kernel systems programming knowledge.
Discussion
No comments on this launch.
Competitors
Other products that read as similar to this one : 297 launches clear the similarity bar, closest 8 shown.
Attention rank: #171 of 298 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 48 days after the earliest competitor.
- Kern · hn · 2026-08-24 · 70 upvotes · similarity 0.50
- I wanted OpenSCAD with fillets and a C-like language. So I made one · hn · 2026-11-04 · 7 upvotes · similarity 0.49
- I Made a Programming Language with Python Syntax, zero-copy and C-Speed · hn · 2026-02-18 · 10 upvotes · similarity 0.49
- oci-images · github · 2026-10-10 · 14 upvotes · similarity 0.46
- buildx_gc · github · 2026-09-14 · 8 upvotes · similarity 0.45
- Container · ph · 2026-10-30 · 2 upvotes · similarity 0.44
- kiri · github · 2026-11-02 · 504 upvotes · similarity 0.43
- Doiter · hn · 2026-10-11 · 8 upvotes · similarity 0.43
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.