Hacker GitHub

← All repos

containers/crun

View on GitHub ↗ ★ 4,194 C

A fast and lightweight fully featured OCI runtime and C library for running containers

28 mentions on Hacker News by 27 people: 4 stories, 24 comments · first 2020-02-04 · latest 2026-07-27

Mentions per year 28 mentions · busiest year 2020 (5)
20082026
  1. …drop in replacements for runc (default OCI runtime) there are others too. one based on libkrun : https://github.com/containers/crun/blob/main/krun.1.md and these are just runc replacements. with some minor scripting you can roll a CLI…
  2. …Perhaps we can exchange ideas here? I recall that GPU passthrough is also a recurring topic there. https://github.com/containers/crun/blob/main/krun.1.md
  3. …on Lima recently for a "dockeresque" experience with hard VM guarantees. Also keeping an eye on https://github.com/containers/crun/blob/main/krun.1.md
  4. …configure Podman to use krun[0], which fires up a libkrun VM inside a crun container.) [0]: https://github.com/containers/crun/blob/main/krun.1
  5. I don't know about the [1] but I think that [2] actually embed's crun https://github.com/containers/crun in the executable itself. Crun can be/is used by podman/docker too so you could think that its essentially stripping docker down to…
  6. …for example, you're running multiple different wasm applications atop the same wam runtime. https://github.com/containers/crun/blob/main/docs/wasm-wasi-...
    comment by jauntywundrkind · 2025-07-23 · in When Is WebAssembly Going to Get DOM Support?
  7. ▲ 5
    Crun – A fast and lightweight featured OCI runtime
    story by ma5ter · 2025-01-05 · 0 comments
  8. Podman supports this since quite a while with the krun variant of the crun runtime ( https://github.com/containers/crun/blob/main/krun.1 ), provided in Fedora by the "crun-krun" package. Just add "--runtime=krun" to your podman command…
  9. …of the image. At runtime the squashfs and overlayfs are mounted and the container is started. [0]: https://github.com/containers/crun
  10. On this note, I was really surprised to find Red Hat's OCI runtime is written in C: https://github.com/containers/crun Is anyone working on a Rust version?
  11. …in non-memory safe languages (e.g. C) As an example Red Hat OpenShift added support for crun( https://github.com/containers/crun ) this year( https://cloud.redhat.com/blog/whats-new-in-red-hat-openshift... ), which is written in C as an…
  12. …easily included in programs without requiring an external process for managing OCI containers." [0] https://github.com/containers/crun
    comment by nazgulsenpai · 2023-08-07 · in Barco: Linux Containers from Scratch in C
  13. …one implementation it can use. Docker also appears to be able to use crun for it's engine as well. https://github.com/containers/crun/issues/37
  14. ▲ 109
    Crun: Fast and lightweight OCI runtime and C library for running containers
    story by nateb2022 · 2023-06-04 · 49 comments
  15. ▲ 2
    crun
    story by tosh · 2022-10-31 · 0 comments
  16. It looks like crun already supports krun: https://github.com/containers/crun/blob/main/crun.1.md
    comment by 0xbadcafebee · 2022-08-16 · in Krunvm – Create MicroVMs from OCI Images
  17. They were first to push crun[1], in place of runc, that is your C code in the stack :-) [1] https://github.com/containers/crun
    comment by nezirus · 2022-08-11 · in Podman 4.2.0
  18. …is crun. On RHEL 7 and RHEL 8, the default is runc. In any case they can be swapped as needed. https://github.com/containers/crun
    comment by mroche · 2022-02-23 · in Podman 4.0
  19. …runtimes) have already integrated Wasmer to enable running WebAssembly on their runtime. https://github.com/containers/crun https://github.com/containers/youki
    comment by syrusakbary · 2022-02-01 · in Pay attention to WebAssembly
  20. I believe something like a static build of crun might work, if the kernel is new enough. https://github.com/containers/crun
  21. …docker use runc. Redhat is writing a new version named "crun" which is lower overhead and faster: https://github.com/containers/crun
    comment by SEJeff · 2021-02-11 · in Podman: A Daemonless Container Engine
  22. …errors possible in a container runtime that no language will save you from. See CVE-2019-18837 https://github.com/containers/crun/pull/173
  23. ▲ 126
    Crun: Fully featured OCI runtime and C library for running containers
    story by harporoeder · 2021-01-31 · 45 comments
  24. …[2]: https://catalog.redhat.com/software/containers/ubi8/ubi-init... [3]: https://github.com/containers/crun [4]: https://www.redhat.com/sysadmin/introduction-crun
    comment by freedomben · 2020-11-24 · in Transitioning from Docker to Podman
  25. In addition to runc, I'd like to point out an alternative OCI runtime implementation, crun ( https://github.com/containers/crun ). You can play with both either directly, or through Podman ( https://podman.io/ ) Useful for cgroups v2 too.
    comment by nezirus · 2020-09-08 · in Introduction to runc
  26. Podman can use runc or their own runtime crun https://github.com/containers/crun so it should be able to work without much drama :tm:
  27. …mentioned way down near the end of the article, and looks like it is less resource-intensive) [1] - https://github.com/containers/crun
  28. …with the new crun[1] container runtime is pretty lightweight. Everything circles back to C. [1]: https://github.com/containers/crun