If you are up for a little weekend experimentation, one of the driving design decisions behind rkt was to allow the container to be managed by the init system correctly.
You should be able to construct an ExecStart= that has a /usr/bin/rkt run that pulls a docker container and avoids all the extra systemd hacks. The container will be a direct child of systemd so it will be able to clean up appropriately.
Would appreciate feedback on your experience with this if you give it a shot.
Alex
--
You received this message because you are subscribed to the Google Groups "CoreOS User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coreos-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.