Giter Club home page Giter Club logo

Comments (7)

Madeeks avatar Madeeks commented on August 23, 2024

Hi Lukas,

we have not built or tested Sarus outside of Linux x86-64, which is also the target architecture of the standalone archive we distribute on GitHub releases.
In any case, the Sarus code does not contain x86-specific parts, and is pretty much architecture-agnostic, so it could probably work on Power architectures as well if compiled from source.
The hardest part may be building the dependencies (e.g. cpprestsdk or runc): https://sarus.readthedocs.io/en/stable/install/requirements.html
For reference, here is also the documentation about building Sarus from source: https://sarus.readthedocs.io/en/stable/install/installation.html#installing-from-source (edited)
Cheers,

Alberto

from sarus.

lukasheinrich avatar lukasheinrich commented on August 23, 2024

runc should not be the problem, since I know containerd runs on power which should also use runc

this suggests cpprestsdk should also compile on power
microsoft/cpprestsdk#576

maybe it's worth looking into. Just to clarify, sarus is both daemon- and root-less?

Lukas

from sarus.

Madeeks avatar Madeeks commented on August 23, 2024

Sarus is indeed daemon-less, but requires root privileges to run containers, as detailed here.
The main reason for this is to allow mounting the container image as a loop device, preventing metadata thrashing when many containers access the same image on a parallel filesystem (for reference, see point 1. here).
Note that Sarus tries to be responsible with this power, performing several security checks to safekeep itself and the host system.

from sarus.

lukasheinrich avatar lukasheinrich commented on August 23, 2024

given that runc can run rootless, would there be a possible mode to run in rootless mode (say if we have an unpacked flat filesystem as a rootfs)

from sarus.

Madeeks avatar Madeeks commented on August 23, 2024

It's not completely clear to me what's the use case you have in mind, could you please provide some more details?

Regarding the mount of the rootfs, there is an ongoing effort of benchmarking Squashfuse to understand the performance implications of such feature when applied to HPC deployments.

from sarus.

haampie avatar haampie commented on August 23, 2024

@lukasheinrich if you mean rootless in the sense of user namespaces / user mapping (being root in the container, but without being root outside of it), I've tried it here: #15 and it seems to work more or less, but cgroups are still an issue.

from sarus.

taliaga avatar taliaga commented on August 23, 2024

Closing issue because the question was answered and there is no clear next action to do. Feel free to reopen with further clarifications if needed.

from sarus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.