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

roadmap #4

Open
lukasheinrich opened this issue Jul 25, 2018 · 3 comments
Open

roadmap #4

lukasheinrich opened this issue Jul 25, 2018 · 3 comments
Labels
question Further information is requested

Comments

@lukasheinrich
Copy link

lukasheinrich commented Jul 25, 2018

Hi @giuseppe ,

I found this repo through the singularity thread apptainer/singularity#1207 and wanted to understand a bit more the status of this implementation. is there already a PoC of this working with a container runtime like podman or is that still far in the future?

Most of the infrastructure we use at CERN and elsewhere is based on RHEL so the ubuntu patches are not in play for us -- so this is very interesting to us

@giuseppe
Copy link
Member

hi, I think this is already in a better shape than a PoC, I've used it for a while and could not see any major issue while working with different containers, or building them with Buildah. We are currently looking into packaging it so that it can be used from Fedora without requiring to build it.

We have integrated the https://github.com/amir73il/unionmount-testsuite testsuite, that is the same one used by overlay in the kernel.

Differently than the ubuntu patches that open overlay to unprivileged users, everything with fuse-overlay runs in userspace without any need of root privileges.

To be really usable from Podman/Buildah, we need Linux 4.18 that will allow FUSE from an user namespace. On older kernels you can still use it (I've not really tried though) and let podman point to it with --rootfs.

If you'd like to play with it, you can try on Rawhide where the Linux 4.18 is present and you can do as unprivileged user something like:

console podman --storage-driver overlay --storage-opt overlay.fuse_program=/usr/bin/fuse-overlayfs ...
and that will internally use this implementation of overlayfs to setup the storage for the container.

/cc @rhatdan

@lukasheinrich
Copy link
Author

Thanks that is very useful. I'll probably try this out once 4.18 gets released and fuse-overlayfs gets packaged --looking forward to it.

@giuseppe
Copy link
Member

another feature is IDs shifting so that is not required to create another image with remapped uids when you work with usernamespaces: containers/storage#195

That feature is probably useful also for root containers using usernamespaces. Especially for short lived once where the benefit of quickly creating the container is more important than the overlay-in-the-kernel performance.

@giuseppe giuseppe added the question Further information is requested label Jul 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants