[1]: https://www.nomadproject.io/docs/drivers/external/lxc.html
I have heard that some folks have looked into using LXC under Kubernetes (and theoretically the OCI templates for LXC could possibly make this somewhat work) but there isn't an obvious way to do that today AFAIK. And I'm not convinced (given CNI which touches some deep bits of runc's particular behaviour) it would work with everything you'd want it to.
Could you explain? I’m a maintainer of CNI and I know almost nothing about runc, so I’m not clear where they touch.
The first CNI implementation came out of rkt, pre-dating runc by a year or two.
And historically, yes it might predate the runc binary but the libcontainer code that is now part of runc predated CNI -- and all of our fun idiosyncrasies are in libcontainer.
Nope. CNI takes as parameters a “container ID” (any string) and a network namespace path. No knowledge is needed or implied about how those things fit with actual containers.