lxc/lxcfs
View on GitHub ↗ ★ 1,198 C
FUSE filesystem for LXC
4 mentions on Hacker News by 4 people: 0 stories, 4 comments · first 2017-03-29 · latest 2023-11-08
20082026
-
> I wondered for a while if docker could make a fake /proc/cpuinfo This exists: https://github.com/lxc/lxcfs lxcfs is a FUSE filesystem that mocks /proc by inferring cgroup values in a way that makes other applications and libraries work…
comment by irvinlim · 2023-11-08 · in Go, Containers, and the Linux Scheduler -
…a fake /proc/cpuinfo (and /proc/meminfo)[1] which matches the values set by cgroup limits. [1]: https://github.com/lxc/lxcfs
comment by cyphar · 2020-11-27 · in Use `nproc` and not grep /proc/cpuinfo -
…top work in a Linux container? You can use the lxcfs fuse filesystem to get that and a little more: https://github.com/lxc/lxcfs/blob/master/README.md
comment by tyingq · 2017-10-29 · in Memory inside Linux containers (2014) -
…something like lego. You want real memory usage in your cgroup? let's mount some fuse filesystem: https://github.com/lxc/lxcfs - https://www.cvedetails.com/vulnerability-list/vendor_id-4781... We have to gaffer tape with AppArmor and…
comment by nisa · 2017-03-29 · in Containers vs. Zones vs. Jails vs. VMs