Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 2015 12:54:14 +0200
From:      Polytropon <freebsd@edvax.de>
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> <CAC4WUHrcH6FAUBoTnQWcfy%2Bj=HAGDBvzq8U%2B88maUAmB0kuOkg@mail.gmail.com> <20150610165244.0c6f2ed7.freebsd@edvax.de> <1507965.zgzlHR604A@thinkpad>

next in thread | previous in thread | raw e-mail | index | archive | help
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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150611125414.6ec3c597.freebsd>