Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add (limited) support for mount requests from OCI config.json #1006

Closed
stgraber opened this issue Jul 16, 2024 · 0 comments
Closed

Add (limited) support for mount requests from OCI config.json #1006

stgraber opened this issue Jul 16, 2024 · 0 comments
Labels
Bug Confirmed to be a bug Easy Good for new contributors
Milestone

Comments

@stgraber
Copy link
Member

Currently we're completely ignoring the mount section from config.json.

That's obviously not exactly ideal as there may occasionally be reasonable requests in there which are actually required for a container :)

We should add logic to ignore all the stuff we mount ourselves (/dev, /proc, /sys, /sys/fs/cgroup, /dev/mqueue, /dev/pts, ...) but then for the stuff that we're not handling, effectively turn it into liblxc config so long as it's something that looks safe (would probably initially restrict to tmpfs).

@stgraber stgraber added Bug Confirmed to be a bug Easy Good for new contributors labels Jul 16, 2024
@stgraber stgraber added this to the incus-6.4 milestone Jul 16, 2024
@hallyn hallyn closed this as completed in acb84c6 Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Confirmed to be a bug Easy Good for new contributors
Development

No branches or pull requests

1 participant