Comments (7)
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.
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.
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.
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.
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.
@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.
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)
- CI with sarus requires docker-in-docker style containers
- Pull non-latest tag HOT 2
- Issue when just appending flags for image with entrypoint set HOT 2
- Suggestion: documentation link at top of repo HOT 2
- Too many cpus requested HOT 2
- Going rootless
- Failed to retrieve username for uid=xxxxx HOT 5
- Help needed configuring oci nvidia hook HOT 3
- RDMA failed to open device HOT 2
- unable to build HOT 2
- Comparison to other tools like singularity HOT 4
- support for insecure registries HOT 3
- Error sending request to remote registry HOT 11
- home basedir hard-coded HOT 3
- InfiniBand support HOT 1
- Sarus spack recipe inside main Spack repo?
- Race condition with static auth.json filename HOT 2
- Cannot run an OCI image in Sarus HOT 9
- Why is sarus requiring root permissions for things that are outside of sarus? HOT 1
- Preserve color output HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sarus.