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

container: allow elevated privileged container for specific flist #1188

Merged
merged 4 commits into from
Feb 25, 2021

Conversation

maxux
Copy link
Contributor

@maxux maxux commented Feb 12, 2021

Allow zdbfs flist to be started with elevated privileges (SYS_ADMIN and /dev/fuse available).
The flist url will change in the futur.

maxux added 2 commits February 3, 2021 02:09
When starting a container with a specific flist url (need to be
changed), enable a special 'elevated' flag.

Elevated container are started with CAP_SYS_ADMIN and /dev/fuse device
availaible, to allow FUSE working properly inside the container.

This needs to be enabled only for trusted flist, since theses container
have extra privileges.
@maxux
Copy link
Contributor Author

maxux commented Feb 13, 2021

Tested locally, elevated are well restricted to https://hub.grid.tf/tf-elevated repository. :)

@muhamadazmy muhamadazmy merged commit 28f74c9 into master Feb 25, 2021
@muhamadazmy muhamadazmy deleted the container-fuse branch February 25, 2021 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants