Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2019 22:00:59 +0000
From:      Grzegorz Junka <list1@gjunka.com>
To:        Kamil Kieliszczyk <kamil@kieliszczyk.net>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: The status of docker
Message-ID:  <05f8544f-817d-8135-3d89-f7895910ea3e@gjunka.com>
In-Reply-To: <etPan.5c49c0a0.67e5e261.17a@kieliszczyk.net>
References:  <089e330d-2761-2440-3b7f-dd22e9088af5@gjunka.com> <9A01020A-7CC6-4893-A425-11A7BF736F4E@ultra-secure.de> <42f59b63-fdc7-306f-d836-83533741a86c@FreeBSD.org> <CAG=rPVfTZnYc6%2BDjtk0SjkqijJQh6uA1G9VWEBsYy4aDYvYEgQ@mail.gmail.com> <CC0F6FB5-7939-4586-86DD-B5548E0043C3@punkt.de> <5c926314-adce-dba1-f5ce-2fda35e1aeba@gjunka.com> <FDDC8A58-8AD3-4D07-B0B3-0BDFA214ABA0@punkt.de> <1548c51e-49ba-4113-5ade-5515b77a3a44@gjunka.com> <4643A871-4AD6-4C25-AEA7-7BA85B873A19@punkt.de> <CAFYJ9eixff0NWKHhJWj=WBQ7TgQ26GODXtBDWxBXvuR62tPcuQ@mail.gmail.com> <5e0f5b46-3508-c29c-2e05-d3e97154512f@gjunka.com> <etPan.5c49c0a0.67e5e261.17a@kieliszczyk.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 24/01/2019 13:41, Kamil Kieliszczyk wrote:
> My 2c on running Docker on FreeBSD:
>
> 1) I’m using Docker and Kubernetes quite extensively during my work 
> days so I tried to run Docker on FreeBSD in my free time because.. why 
> not?
> First I tried to run boot2docker project in VirtualBox as I remember 
> that it was the way to run Docker on OSX a long time ago. 
> Unfortunately, I had too much problems with it so I switched to 
> running boot2docker inside bhyve. It was running alright, no major 
> issues, no crashes so I went down that path. I improved a little bit 
> my setup and wrote down a small tutorial for myself. You can find it 
> here:
> https://github.com/kiela/kiela.github.io/blob/master/Docker%20on%20FreeBSD%20-%20%5Bpart%204%5D%20Using%20vm-bhyve.md
> I’ve been using this as a Docker Swarm cluster running Nextcloud, 
> PostgreSQL and a bunch of other containers inside it. Upgrading 
> FreeBSD (host) or boot2docker (guest) or containers worked like a 
> charm. And I’ve been using this for last 6+ months. Maybe this will 
> help someone to start playing with Docker on FreeBSD and save some 
> time figuring out how to do it.
>
> 2) Docker is not just running single image, managing volumes and 
> networks - it’s much more. For example Docker Swarm which allows 
> clustering and running whole application stack (multiple apps, DB, 
> cache, logs etc) in a cluster which hosts are running on FreeBSD. I’m 
> not trying to discourage anyone from porting Docker to FreeBSD. I 
> would love to have Docker natively supported in FreeBSD. I just think 
> that if one wants to just get up and running Docker on FreeBSD for 
> development/tests/personal use, boot2docker+bhyve should be enough. 
> Maybe wrapping it in a nice tool like vm-bhyve did with bhyve. If one 
> wants to use Docker in production, one should strongly consider 
> running Kubernetes cluster and use Docker images there.
>

Thanks for sharing Kamil. I tried to run docker inside Manjaro running 
inside bhyve. It mostly worked but in the end the deployed containers 
couldn't communicate between themselves because of some network issues. 
I was told to use a MacBook Pro where the same setup worked out of the 
box within 30 minutes instead of over a day spent on unsuccessful 
attempts to run it in bhyve. It's a shame but I will try with your steps 
when I find some time to see if that would help.

GrzegorzJ




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?05f8544f-817d-8135-3d89-f7895910ea3e>