From owner-freebsd-jail@freebsd.org Mon Jul 10 10:10:58 2017 Return-Path: Delivered-To: freebsd-jail@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0DE12DA2DE2 for ; Mon, 10 Jul 2017 10:10:58 +0000 (UTC) (envelope-from Alexander@leidinger.net) Received: from mailgate.Leidinger.net (bastille.leidinger.net [89.238.82.207]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AFEAE835C1 for ; Mon, 10 Jul 2017 10:10:57 +0000 (UTC) (envelope-from Alexander@leidinger.net) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1499681418; bh=2jeDESFThWBgTcgv3VKs3HqCqu+xsAxb1DZ1+hy1fas=; h=Date:From:To:Subject:In-Reply-To; b=nFREXAWubCRvMm/mJTxElcZJ6OEJgrYkRRatb0kDCdO69CgR/4wcBRQL45HbgXxW8 wCFxqJGrGtKkFoifs80rm2iaXBBg2Ij1/9WYweJigmd9XhjaSPxltr4M0ocPdG+0hH kehdjEUEzOVCGdSQb8XCRIaPdqZtSD5X9d9lg+YtKvJc8UlFMgr2URsLmyRiGEiH2v sAOUjIXlRxI+ZaUJmKf1Qd8lgKerdQ70MwcNeBBN4GXrOt8g12fm54wqmOkSJux8vF Yt16ft9tUC1OLwxMjc3DLTlm/D1jmia81CQLNznvNWKMQkcW2/qru3nbRXEM3KMwWr 1HiBA/6ovN33Q== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1499681449; bh=2jeDESFThWBgTcgv3VKs3HqCqu+xsAxb1DZ1+hy1fas=; h=Date:From:To:Subject:In-Reply-To; b=y2GZkUt75Gzi7kZBfAliINwx+6FWzNHXj1i1qb4lxwmrs/4CifPH8YPMZcuHt4P37 OqeDKLoLmdaoVFg4rOpYfwPqA1VsvAv7qlr9O7dXv9BVmO3rjcwJtcH7A+clzpIr6x p/BVfqieg6lhE24dJErNk6rkAWS7LeMAJ+8DnUw26wqpqn476sRb7hnob3OwQ47Yn4 0sjIHAjGp0hEhVI24JD/neN3VyuQEGwTmm0XZ1MxDttH4GUZgvC9qDBEtiEst/sAVy br/x0o1DIOeyvhApPxz3LAPJA9vojugEmU9lvSnFKUyxRGQyRIpnNsx/AW+xOkMF+Q KnacHk3TiMSPg== Date: Mon, 10 Jul 2017 12:10:18 +0200 Message-ID: <20170710121018.Horde.n7TUkMUclW3WkmzakOB-L8Y@webmail.leidinger.net> From: Alexander Leidinger To: freebsd-jail@freebsd.org Subject: Re: Implement FreeBSD runc with the help of Jail In-Reply-To: User-Agent: Horde Application Framework 5 Content-Type: multipart/signed; boundary="=_r9v7oBtNkBvVr3FvlHdCHF7"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jul 2017 10:10:58 -0000 This message is in MIME format and has been PGP signed. --=_r9v7oBtNkBvVr3FvlHdCHF7 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoting Hongjiang Zhang via freebsd-jail =20=20 (from=20Fri, 7 Jul 2017 02:05:52 +0000): > Hi, all > > Recently, I explored the possibility to implement a FreeBSD runtime=20=20 >=20(based on Jail) for opencontainers/runc. I have an experimental=20=20 >=20implementation of FreeBSD runc, which supports some of runc commands=20= =20 >=20now. > > Welcome any comments. > > https://github.com/clovertrail/runc/tree/1501-SupportOnFreeBSD If I read this correctly, this implements FreeBSD native binaries in=20=20 the=20container. Did you experiment with a linux distribution inside=20=20 instead=20of FreeBSD? When the linux kernel module is loaded (or build=20= =20 into=20the kernel), having a pure linux userland in a jail should work=20= =20 too=20(I never tried it, but in case of issues I would like to see the=20= =20 error=20messages, as I don't see a reason why this shouldn't work=20=20 (except=20the userland needs a syscall which is not implemented, but=20=20 Cent=20OS 6/7 should work as we use it for linux_base ports)). Bye, Alexander. --=20 http://www.Leidinger.net=20Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_r9v7oBtNkBvVr3FvlHdCHF7 Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJZY1KKAAoJEKrxQhqFIICE/54QAJJbflZyqHelhAEKIpWz8rrE LytcB/zUX81ey+QwgseRrqheCatUOceioO8QjthMoNS4MVXEjw18HtrLCGi6fcLh 4NHgPap3/a7ShnOaw466xTGeBJFoavNsB4pRkch+6qkCl36cTz2Dnos6LNcoFn3n zh7gTD10oUXXyXJDX4vuq12SdG++Cl+Z2+N2Wh47ZvUP1uG0AG10mV+jMiye24pY BGRCNZBOy5zIFn2aoNXKW16uHxM2++2Ox1XA+bjrDr4KXTPV4m0jTtVH+8os9QRE 5pxjCa2q186blSJC3DozUFqMTXaUO79FzZTc5njT/n+sFWdy1Z+CLvZDgvUF2Eqp LubaNj7IHHPF+xV1tihdsRh7+EK/3gAJcER8Y3wrvey6Ir7uQMETlwqq8vNCOvu6 PtjEkvZYkAgRERxKxdsIHXKgAeqcXf/XnRMo1eEvRNh63weve44uYsJpOSP8tCIE yU5NOtV6Mf/+fTa3EeAwynpeqCmyVujMnWPlEG1DozvmOnMX5HjbZgcVwaUw9WoZ ARROmoXOZYP5dZn3uHWJ9ak7/x7gf9+fq/AbQ7d6tLlOfgAK3A7vN/XDBhwIOW/q Xcun9Vv93U1UIFFCtNNT+eU8ZKnd5vjjpaDVZ2QQK90ykiZaq+0Dsy9iGBcZ1G3U XvlIvW3xAr6lSVe7XRdr =xZNe -----END PGP SIGNATURE----- --=_r9v7oBtNkBvVr3FvlHdCHF7--