Implement FreeBSD runc with the help of Jail

Alexander Leidinger Alexander at leidinger.net
Mon Jul 10 10:10:58 UTC 2017


Quoting Hongjiang Zhang via freebsd-jail <freebsd-jail at freebsd.org>  
(from Fri, 7 Jul 2017 02:05:52 +0000):

> Hi, all
>
> Recently, I explored the possibility to implement a FreeBSD runtime  
> (based on Jail) for opencontainers/runc. I have an experimental  
> implementation of FreeBSD runc, which supports some of runc commands  
> now.
>
> Welcome any comments.
>
> https://github.com/clovertrail/runc/tree/1501-SupportOnFreeBSD

If I read this correctly, this implements FreeBSD native binaries in  
the container. Did you experiment with a linux distribution inside  
instead of FreeBSD? When the linux kernel module is loaded (or build  
into the kernel), having a pure linux userland in a jail should work  
too (I never tried it, but in case of issues I would like to see the  
error messages, as I don't see a reason why this shouldn't work  
(except the userland needs a syscall which is not implemented, but  
Cent OS 6/7 should work as we use it for linux_base ports)).

Bye,
Alexander.
-- 
http://www.Leidinger.net Alexander at Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild at FreeBSD.org  : PGP 0x8F31830F9F2772BF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.freebsd.org/pipermail/freebsd-jail/attachments/20170710/a00469ea/attachment.sig>


More information about the freebsd-jail mailing list