From owner-freebsd-virtualization@freebsd.org Fri Jan 29 17:37:10 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1D3DFA7252E for ; Fri, 29 Jan 2016 17:37:10 +0000 (UTC) (envelope-from clint@clintarmstrong.net) Received: from mail-ig0-x22c.google.com (mail-ig0-x22c.google.com [IPv6:2607:f8b0:4001:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E70A010DE for ; Fri, 29 Jan 2016 17:37:09 +0000 (UTC) (envelope-from clint@clintarmstrong.net) Received: by mail-ig0-x22c.google.com with SMTP id t15so41769094igr.0 for ; Fri, 29 Jan 2016 09:37:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=clintarmstrong.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-type; bh=LCMfX0CcO7sgs5Tz6O5Hu3BbAi5QI5j/xyqEsLnLCws=; b=IvQMPdRAVmeT7LuIKLEg2SDVM98WC+XOkuMysKnkAyvJqfbhudiXEUJcCxaiGu/ICZ C1qNBV6q1PN92ylukeQ3FtW1UAhad7J5QDun8UqshJXFFjJhpgClpE7X7r1cQacBI7ZH PlWAhQ2WWQniYpxswFMA5ywzn2vvbiMTEltQ8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-type; bh=LCMfX0CcO7sgs5Tz6O5Hu3BbAi5QI5j/xyqEsLnLCws=; b=N4YCm3J/Jmg5iQReMwAMa285k6EwYFpo0MREe/id56wWb0/EpQUQF5WWOTp3bHJXmt MyHwOMyZgfBjmTXKNj9VYbVFY2tOPyGyKUcwdz2Ue2rzXWS0d7R7f7xkhwy4yGpA+gpX HjMNmI0/xFJhsyH4udHbmJrKs+qQHBZIrWv1E2ICR1DQGQeogj9asgg2mKZUPenq/aao kk17BZ5FlXMxzP9YVZYfTwlHQVpO5B4WAdLhji+SoOIAjOLqyGhj8IVlk0XZmnGssk6h wG6mwZQZB292o2cwWfR92YC03EQLKZfcklEGk4AXWDyWagWBTyHRPGj6CIQ1dXspH7wJ E6iQ== X-Gm-Message-State: AG10YOSvic/d+fm801WlKw0AwbbDTrxMZcGuYT72Vfq4eaty77xwP369wWWejUAqYpg+jQMblsxjYvbJYQ7t2w== X-Received: by 10.50.122.38 with SMTP id lp6mr11012864igb.12.1454089029020; Fri, 29 Jan 2016 09:37:09 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Clint Armstrong Date: Fri, 29 Jan 2016 17:36:59 +0000 Message-ID: Subject: Re: ATTN Docker, Jetpack users (was: Re: Docker on FreeBSD) To: Sergey Zakharchenko , Matthew Veety , Ryan Holt Cc: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jan 2016 17:37:10 -0000 I had to give up on Docker on FreeBSD because the latest versions of docker are now very dependent on netlink APIs for networking. The new network driver API for docker may allow creating a network driver for FreeBSD that would bypass that, but I haven't had a chance to look into it yet. I think good docker support is going to be dependent on newer Linux kernel emulation in FreeBSD if porters don't want to make a full time job of implementing workarounds with every docker update. On Fri, Jan 29, 2016 at 6:48 AM Sergey Zakharchenko < doublef.mobile@gmail.com> wrote: > Hi Matthew, > > What needs to be done with docker to get it running better on FreeBSD? Is > > there any place with a list of bugs or a todo list? I would be > interested in > > getting it working better. > > It's more like a list of things which work, many things that don't, > and a sea of things which 'sorta' work. Mainly because of this one > entry in > https://github.com/kvasdopil/docker/blob/freebsd-compat/FREEBSD-PORTING.md > : > > >>> volumes - not working > > It's a small benign-looking entry. Not in bold, not highlighted, > hidden deeply from those unaware. > > Image building doesn't *really* work because of that, because the > resolver configuration and hosts file are, like, 'single-file mounts'. > So when you do a pkg install in the image-building container, you get > no address record. Jumping through some hoops, including > custom-generated Dockerfiles (what a crappy file format BTW), can > still get things done. You're left with jumping more hoops with adding > the volumes when you instantiate and start a container. > > Problems indicated by kvasdopil: Docker is too much of a moving target > and his patches no longer apply to the latest, they change everything > all the time (e.g. network config revamping, etc.). That is a valid > concern. > > Should I contribute to the whole thing? Too few people seem to care. > > My questions are: Is anyone here interested in a patch which improves > container-building performance (I'm patching Docker but a similar > approach should benefit Jetpack)? Now, is anyone interested and > *competent enough* in fixing the volume problem? > > Oh, and there's the whole port forwarding thing... > > >>> port forward - ok > > OK would be native support of a FreeBSD firewall, e.g. PF. Please > don't tell me you like the userland proxy. That's partial support, and > the container access logs become useless... > > P.S. Ryan wrote: > > I've since moved to Gentoo, ZFS for Linux, and Docker. Works really well. > > That's exactly the attitude the current state of things provoke. Not > blaming you in any way. Docker in general sounds like 'run it anywhere > and pray it's the latest 64-bit Ubuntu' :) > > Best regards, > > -- > DoubleF > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" >