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
Running “full” OS with Lithos #8
Comments
Hi! Technically you can. There are a few quirks, though:
All in all, we can add some features incrementally. But I don't see a reason to make full OS a first-class citizen for lithos. There's neither space where we can improve a lot (any specific issues with LXC/LXD?) nor there are lots of use cases for such containerization in the wild I think. (on the other if someone reading this wants to use underlying |
Thanks for very thorough and quick answer! Well, LXC works, but I don’t like that project. LXC is 42k LoC in C, that’s really massive for something that can be (basically) written even in dozens lines of shell with few tiny, single-purpose utilities like unshare, ip etc. Also it has very cryptic error messages, so when something get wrong, it’s quite hard to find the cause. I’d like to find same sane, lightweight alternative, preferably written in some decent language made for system programming (I mean not in Go…). Vagga and Lithos looks very promising. I have both use cases. I need to run isolated services, but also some full containers that I can give to users, so they can manage some their services inside. |
Well, technically we have a concept of To be perfectly clear: it doesn't help to run full OS. But it does help to manage services without running a full OS. It's easy to run For generating |
@jirutka, any questions left here? |
No questions left, thank you for the answer! We can close this now. |
Hi,
it seems that Lithos is designed for running services that may be isolated using namespaces, cgroups, capabilities(?), i.e. running them inside “containers.” I wonder, can I use it even to run ”full OS” (Alpine Linux to be specific) with traditional init system (OpenRC) and multiple services, including OpenSSH server for users to connect into? Like with LXC that I currently use. Theoretically it should be possible, but it seems that it’s really not designed for such use case (?), so are there any limitations or design decisions that makes it really bad idea?
The text was updated successfully, but these errors were encountered: