-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
RunC currently hard-codes a list of supported mount types, which means I can't do things like mount a devtmpfs at /dev
(I just end up in the default case and error out). I've tried patching:
- case "tmpfs":
+ case "tmpfs", "devtmpfs":
but still get errors like:
FATA[0000] Container start failed: [8] System error: operation not permitted
I'd like to be able to mount devtmpfs so we don't have to figure out opencontainers/runtime-spec#95 internally (we can let the Linux-kernel folks figure that out).
More generally, I'd expect we can adjust runC to support arbitrary mount(2)-style mounting without needing to hard-code a list of supported mount types. For example, we could have special handling for cgroups and other things, and then fall back to a generic mount(2)-style call in the default case.
Metadata
Metadata
Assignees
Labels
No labels