-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
We want to get actual resource stats in containers. Currently some commands like top, free displays total resource stats on host. So we wrote a program called cgroupfs which uses fuse to create emulated /proc/meminfo, /proc/cpuinfo, /proc/diskstats, /proc/stats files. We want to mount those files into containers, but I can't do it now cause runc prevents bind mounting files under /proc. Can we allow mounting some files under proc?
Steps to produce https://github.com/chenchun/cgroupfs#usage
I propose to remove the restriction, like chenchun/docker@0613757#diff-6c6ccfc7b791fef9380cbfae0a91e3b4L308. If maintainers agree, I'd like to push a PR.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels