Open hardBSDk opened 1 month ago
@utam0k AFAIK Redox supports ptrace
or strace
, if only Linux system calls are used it can be easily ported.
I'm concerned with kernel interfaces.
Anyway, we should give it a try and observe the error message. Is there an easy way to run youki on Redox?
@utam0k I created a recipe for it yesterday, I didn't built it yet:
https://gitlab.redox-os.org/redox-os/cookbook/-/blob/master/recipes/wip/containers/youki/recipe.toml
If you want to build/test it use the following command on GNU Bash:
cd cookbook && git pull && cd .. && make r.youki
Hey @hardBSDk , by nature of containers themselves, cgroups and namespaces with their behavior similar to Linux would also be a requirement. I'm not familiar with redox, does it have similar concepts? I don't think these two come under POSIX, right?
@YJDoc2 Redox support namespaces using capabilities (Contain), like the Capsicum from FreeBSD.
Thus I think the file descriptors are similar to Linux, but it still don't have a cgroups equivalent.
We don't have a specific list for this question. How about running youki with bpftrace or ptrace? e.g., https://github.com/containers/youki/blob/main/hack/debug.bt for bpftrace