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

Integrate Sysbox as container runtime #931

Closed
qdrop17 opened this issue Aug 21, 2023 · 3 comments
Closed

Integrate Sysbox as container runtime #931

qdrop17 opened this issue Aug 21, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@qdrop17
Copy link

qdrop17 commented Aug 21, 2023

We're interested in containerizing various workflows of our development into containers (not VMs!). But a lot of solutions we're using are reliant on systemd. This on the other hand has dependencies which are not natively covered by Docker.

https://github.com/nestybox/sysbox solves this dilemma and would enable far more capable (more native-like) Distroboxes while still leveraging the lightweightness of containers.

One could launch an almost native-like container inside a Distrobox.

It has a strong isolation still which would also help with #28

@qdrop17 qdrop17 added the enhancement New feature or request label Aug 21, 2023
@89luca89
Copy link
Owner

Very interesting! Didn't know of it, very cool!

I think you already can use it by using the --additional-flags to specify the runtime (--additional-flags "--runtime=sysbox-runc" )

Also, chrck initful container, they should be mostly the same

distrobox create --init --additional packages systemd --image registry.opensuse.org/opensuse/distrobox:latest

That will create a container with systemd running as pid1 inside. Install docker and run it, you'll have a very similar result 👍

@qdrop17
Copy link
Author

qdrop17 commented Aug 26, 2023

nice, that's great. It's basically a super lightweight VM now :-)

@qdrop17 qdrop17 closed this as completed Aug 26, 2023
@89luca89
Copy link
Owner

@qdrop17
With the latest commit, using --unshare-all --init will provide an isolation quite similar to what sysbox or lxc does
Let me know if there is missing stuff!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants