Re: How to create minimal portable services environments?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 29 August 2018 at 16:14, Wojtek Swiatek <w@xxxxxxxxx> wrote:
> Le mer. 29 août 2018 à 17:11, Steve Dodd <steved424@xxxxxxxxx> a écrit :

>> Shouldn't be that hard to adapt one of the above for nspawn?

> nspawn is not the problem - portable services are. I use a minimal image
> with nspawn which is OK but portable services are intended to be even
> thinner: no need to bring in the OS, just the files needed to run the
> service (which are the program itself, dependencies not found in the host
> and unit files)

My bad, portable services are lumped in with nspawn in my head :)

Dependencies will still need duplicating in an image though, as even a
portable service will be chrooted and therefore need its own copy of
its libraries. Hence my remark about page cache sharing. The /usr
merge process and the possibility of read-only root host filesystems
mentioned in various systemd docs suggests it may one day be
possible/sane for containers to share /usr or even / ..

S.
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux