[systemd-devel] Appc support in systemd-importd

Vincent Batts vbatts at redhat.com
Tue Mar 17 10:12:24 PDT 2015


On 11/03/15 15:24 +0100, Iago L?pez Galeiras wrote:
>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

Is there a place that you are working on this logic? I'm will
participate. My simple stub is
https://github.com/vbatts/systemd/commit/6067a9f484af4cfeb9c4b01965edcd50ff0cffc3
rebased on master.

vb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150317/f3d30809/attachment.sig>


More information about the systemd-devel mailing list