7 ms·
Introduction to runc
- eatonphil 6y agoUnfortunately on mobile the zoom is fixed (I can't zoom out, didn't know that was possible) and I can't see the left and right edges of the text.
- Tepix 6y agoI hate when they do that. Here is a bookmarklet that will fix those pages: javascript:document.querySelector('meta[name=viewport]').setAttribute('content','width=device-width,initial-scale=1.0,maximum-scale=10.0,user-scalable=1'); The real fix is of course to complain to the page author.
- jpitz 6y agoChecking the desktop site checkbox on Android chrome fixed that for me.
- modeless 6y agoSettings > Accessibility > Force Enable Zoom; it's one of the first things I always enable.
- gumby 6y agoWhy would anyone want to restrict the reader in this way?
- GoblinSlayer 6y agoIncompetence.
- nezirus 6y agoIn 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.
- eatonphil 6y agoAre there any runc shims that just use processes (I know, containers are just processes) ignoring network/user/etc namespace isolation and other Linux-specific security features? For example a shim that could run native MacOS processes on MacOS, native FreeBSD binaries on FreeBSD, etc. just by executing the processes directly. The point of this would be to take advantage of the Docker ecosystem for _scheduling_ particularly in developer environments. Specifically I'd like a "docker-compose for processes" that can run on any system and just handles scheduling multiple processes together but without requiring root access to modify init scripts or systemd services at the system level.
- JamesSwift 6y agoIsnt that what Foreman and its Procfile handle? https://github.com/ddollar/foreman https://github.com/ddollar/foreman
- eatonphil 6y agoMaybe, but I don't want to learn a new config system. Developers are so familiar with docker-compose I just want to use that.
- deleted 6y ago[deleted]
- fetbaffe 6y agoAs a Scandinavian I read this as "Introduction to runk" because c at the end of a word is pronounced as k as long it isn’t an abbreviation. Bit unfortunate. Please downvote.
- flemhans 6y agoIsn't that the case in English too? BTW, I can think of very few Danish words that end in c.
- fetbaffe 6y agoIn Swedish all of them are either loanwords or abbreviations. https://www.synonymer.se/ordlekar/sv/ord-som-slutar-pa/c https://www.synonymer.se/ordlekar/sv/ord-som-slutar-pa/c
- hobofan 6y agoAnd what is the problem with "runk"?
- wyldfire 6y agoAs a USian I read it the same way. I have read about 'runc' before. I suppose its authors might prefer //run-see// but I just like the sound of //runk//.
- mlang23 6y agowget directly to /usr/bin. Am I the only one who cringes upon such a pattern? I am probably too old. I recently almost doubled over when I saw that /sbin is now a symlink to /usr/sbin on bullseye. Even worse, /lib/modules is a symlink to /usr/lib/modules. Try $ find /lib -name \mlx5\ and learn how find treats symlinks.