5 ms·
In addition to runc, I'd like to point out an alternative OCI runtime implementation, crun (https://github.com/containers/crun https://github.com/containers/cru
by nezirus 6y ago
In addition to runc, I'd like to point out an alternative OCI runtime implementation, crun (https://github.com/containers/crun https://github.com/containers/crun). You can play with both either directly, or through Podman (https://podman.io/ https://podman.io/)
Useful for cgroups v2 too.
- eatonphil 6y agoThe really weird thing about this is that latest Fedora (by Red Hat, as is crun) doesn't even support cgroups v2. Or I couldn't figure out how to get it working. I had to disable v2 and go back to v1 and use runc.
- nezirus 6y agoDid you modified your bootloader with following parameter: systemd.unified_cgroup_hierarchy=1 In runtime, you should see the following: mount | grep cgroup cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate) btw, I use Arch (yeah I know, the standard adage)
- vishvananda 6y agoThere is also a rust implementation that I wrote in my time at Oracle. Unfortunately they no longer maintain it, but there is a fork with some more recent updates: https://github.com/drahnr/railcar https://github.com/drahnr/railcar
- sitkack 6y agoSounds like you are no longer at Oracle. Was this at Oracle Cloud in Seattle? Can you talk about their Rust adoption?
- CameronNemo 6y agoPretty sure runc supports cgroups2 these days. Not sure why I would want a lot of new C on my machine, unless I was pressed for storage or RAM. Which I am not. runc is like 5MB, which is pretty small for a Go binary.
- cpuguy83 6y agocrun is quite a bit faster. Also `runc` has quite a lot of C in it anyways. The go runtime makes many things very complicated or even impossible.