[systemd-devel] How to create minimal portable services environments?
Steve Dodd
steved424 at gmail.com
Wed Aug 29 15:10:22 UTC 2018
On 29 August 2018 at 15:43, Steve Dodd <steved424 at gmail.com> wrote:
> I'm kind of surprised a tool for this hasn't crossed my path already, [..] I also wonder if there might be any
> Docker based tools that do this sort of inspection.
Bingo:
- https://github.com/djosephsen/skinnywhale/blob/master/skinnywhale.sh
- https://github.com/mvanholsteijn/strip-docker-image
- https://xebia.com/blog/how-to-create-the-smallest-possible-docker-container-of-any-image/
- https://github.com/docker-slim/docker-slim
Shouldn't be that hard to adapt one of the above for nspawn?
One other thing I'm interested in is page cache sharing between the
host and the container .. seems like a messier problem.
S.
More information about the systemd-devel
mailing list