Hi,

We're looking into adding appc[1] support in systemd-importd. An appc image 
(ACI) is just a tar with a "rootfs" directory and a json "manifest". We would 
have to implement image discovery and simply extract the rootfs. Some questions:

* I see that the dkr implementation ignores the information in the docker 
manifest (resource restrictions, binary to exec...). Is that by design or just 
not implemented yet? Should we do the same with appc (*only* extract the 
rootfs)?

* Alban liked the idea of saving the manifest so we can extract the whole ACI 
and modify nspawn to detect a container is an ACI and set 
/var/lib/machines/appc-image.aci/rootfs as the container's root. The benefit of 
keeping the manifest would be knowing which binary to start. Is that acceptable?

[1]: https://github.com/appc/spec/blob/master/SPEC.md

Cheers,
Iago

-- 
Iago López Galeiras, Endocode AG
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to