From owner-freebsd-questions@FreeBSD.ORG Thu Jun 11 10:54:19 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4C4CAA70 for ; Thu, 11 Jun 2015 10:54:19 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0EB1F1092 for ; Thu, 11 Jun 2015 10:54:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-111-193.dynamic.qsc.de [92.195.111.193]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 55FB42784F; Thu, 11 Jun 2015 12:54:15 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t5BAsEee002180; Thu, 11 Jun 2015 12:54:14 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 11 Jun 2015 12:54:14 +0200 From: Polytropon To: che@bein.link Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD and Docker Message-Id: <20150611125414.6ec3c597.freebsd@edvax.de> In-Reply-To: <1507965.zgzlHR604A@thinkpad> References: <20150610111135.C81EE2319B@smtp.hushmail.com> <20150610165244.0c6f2ed7.freebsd@edvax.de> <1507965.zgzlHR604A@thinkpad> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 10:54:19 -0000 On Wed, 10 Jun 2015 22:38:33 +0300, Maxim V Filimonov wrote: > On Wednesday 10 June 2015 16:52:44 Polytropon wrote: > > On Wed, 10 Jun 2015 07:29:09 -0700, Jason Cox wrote: > > > What are you doing wrong? You are trying to run docker on FreeBSD. Docker > > > is a containerization technology built for Linux. It uses LXC (which is > > > Linux Containers) for older Kernels or docker specific bits which are now > > > part of the modern Linux kernel 3.10+. > > > > It requires too many Linuxisms which aren't part of FreeBSD's > > Linux ABI, so expecting Docker to work on FreeBSD is somehow > > wrong. > > Some guy tried to port Docker on FreeBSD, and even got it working IIRC. Well, I wouldn't say it's entirely impossible to get a Docker implementation running on FreeBSD, but probably it won't work 1:1 with all imaginable software - I conclude this from the concept of being able to run Linux applications on FreeBSD using our Linux ABI, which works for _many_ applications, but not for _all_ of them, especially not for those relying on Linux kernel mechanisms that the ABI doesn't provide a proper "translation" for. In those cases it's probably easier to use native FreeBSD solutions: install the ported application into a Jail. Yes, I know, Docker is much more than Jail in terms of functionality... Maybe related: Erich Schubert: The sad state of sysadmin in the age of containers http://www.vitavonni.de/blog/201503/2015031201-the-sad-state-of-sysadmin-in-the-age-of-containers.html > > Oh, and doing things like > > > > # wget http://getsomething.example.com | sudo bash > > > > is definitely _not_ the way you want to install software on FreeBSD. > > It rather seems to be a new Linuxism that has emerged during the > > recent years. :-) > > That's not a Linuxism; in fact, that's a "hipsterism". Oh, that's why I see this on Mac OS X related software so often! :-) > But that's another > question. Where the only answer is "more beer". :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...