[systemd-devel] Creating containers from local .raw or tar images

Erik Johnson erik at saltstack.com
Mon Mar 2 22:50:54 PST 2015


On Mon, Mar 02, 2015 at 06:03:42PM -0500, Daurnimator wrote:
>AFAIK, all the pull-* commands do is download into /var/lib/machines.
>You could easily enough just copy things into there yourself.
>
>Or even less work: don't copy them in there at all, and pass your image
>directly to systemd-nspawn (which is what machinectl uses)
>See: http://www.freedesktop.org/software/systemd/man/systemd-nspawn.html
>

I've done that before, but I am writing nspawn support for SaltStack
(http://saltstack.com) and I need to start and stop them unattended.

-- 

Erik Johnson | Senior Engineer

3400 North Ashton Blvd, Suite 110 | Lehi, UT 84043
erik at saltstack.com | http://saltstack.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150302/6f1e1698/attachment.sig>


More information about the systemd-devel mailing list