Docker on FreeBSD

Ryan Holt ryan at ryanholt.net
Fri Jan 29 11:52:30 UTC 2016


Hi Sergey,



Thanks for the response.  I've since moved to Gentoo, ZFS for Linux, and Docker. Works really well.



Sent from Outlook Mail<http://go.microsoft.com/fwlink/?LinkId=550987> for Windows 10 phone



From: Sergey Zakharchenko<mailto:doublef.mobile at gmail.com>
Sent: Friday, January 29, 2016 1:51 AM
To: Ryan Holt<mailto:ryan at ryanholt.net>
Cc: freebsd-virtualization at freebsd.org<mailto:freebsd-virtualization at freebsd.org>
Subject: Re: Docker on FreeBSD



Hello Ryan,

2016-01-21 23:15 GMT+03:00 Ryan Holt <ryan at ryanholt.net>:
> Finished building a FreeBSD Head system today with the intent of using Docker.

My condolences.

> Is there a workaround to getting DNS inside of a container aside from manually building each image?

The basic reason is no volume support in FreeBSD Docker port. The
workaround is one of:

- hacking the Docker port yourself,
https://github.com/kvasdopil/docker/ is *a bit* incomplete and stale;
- building a custom complicated and evil system around Docker that
works around its design deficiencies and FreeBSD port incompleteness;
- using Docker for building images only, and running them using
vanilla jails + a custom complicated and evil system;
- using jetpack instead and exposing yourself to a whole different set
of problems ;)

It's doable, but it is not for the faint of heart. I could share some
improvements for the Docker port but kvasdopil@ seems too reluctant to
make even the simplest changes (e.g. working around
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204897 :) ),
#freebsd-docker is also rather apathetic and there's no way I'm going
to hack on Go (yuck) alone and then just give it away (I'm in the
'custom complicated and evil system' camp).

Best regards,

--
DoubleF


More information about the freebsd-virtualization mailing list