FreeBSD and Docker
Polytropon
freebsd at edvax.de
Thu Jun 11 10:54:19 UTC 2015
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, ...
More information about the freebsd-questions
mailing list