From: Rob Landley <rob-VoJi6FS/r0vR7s880joybQ@public.gmane.org>
To: Containers
<containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>
Subject: nspawn and rocket.
Date: Mon, 7 Sep 2015 14:21:44 -0500 [thread overview]
Message-ID: <55EDE3C8.2030704@landley.net> (raw)
I'm poking at adding the third layer of container support to toybox, by
which I mean I have unshare and nsenter, but need something to act as
the init process in the container to do the early I/O setup (filesystem
mounts, device import/export, network device setup, etc) that requires
interacting with the host.
At the plumber's container BOF I got pointed at systemd-nspawn, which is
apparently what Rocket is built on top of? As in rocket provides a bunch
of host-side plumbing, but the non-distro code that runs inside the
container for early bringup is essentially nspawn?
The nspawn webpage says that it's "just for testing" and that there's a
lot of other stuff you have to do to make it actually secure. Has
anybody documented what that stuff _is_? (Presumably rocket is layering
that on top of nspawn, and I want to implement something that rocket can
use but otherwise stays out of its way. I'd _really_ like it if I can
avoid having parse json.)
Does it sound like I'm on the right track here? Or should I just fluff
out nsenter a bit, implement tunctl, and not worry about nspawn?
Rob
next reply other threads:[~2015-09-07 19:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-07 19:21 Rob Landley [this message]
[not found] ` <55EDE3C8.2030704-VoJi6FS/r0vR7s880joybQ@public.gmane.org>
2015-09-14 17:11 ` nspawn and rocket Serge Hallyn
2015-09-15 3:35 ` Rob Landley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55EDE3C8.2030704@landley.net \
--to=rob-voji6fs/r0vr7s880joybq@public.gmane.org \
--cc=containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox