From owner-freebsd-virtualization@freebsd.org Wed Jul 29 02:10:36 2015 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 350039AD1B1; Wed, 29 Jul 2015 02:10:36 +0000 (UTC) (envelope-from ben.perrault@gmail.com) Received: from mail-pa0-x231.google.com (mail-pa0-x231.google.com [IPv6:2607:f8b0:400e:c03::231]) (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 050ED1CD5; Wed, 29 Jul 2015 02:10:36 +0000 (UTC) (envelope-from ben.perrault@gmail.com) Received: by pachj5 with SMTP id hj5so78919255pac.3; Tue, 28 Jul 2015 19:10:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=SZDkxDrLJCdFZId8zFTyy2zmASzCkecWfGKpj5l9oj8=; b=gbbhvxc5yMV+dT8DlQYRg5g5H6G5bkBNiK/tjFuZGlj9VCUVL6DEuURGlxJi5qmNWX GdPDLvC0C2DZJ9+FM6glrFH6j7MyUznd3nFafT4KScx9gMPEl5vgiiH06BTZYtUvYKO1 cUYq4LmpHqwRB7ZVas0Ek0j0PGD5m5tcsCeQwPSCmgN1qoy7NRZ3w5n93nAumY+9L0To d4S28nxeYbVtUmzbeTsPa9LL+8cvQcovcJQEjCt9tKdjtyftztl6vYYReRXSijTNYIRZ s0p4Sh595UUPvPW7dVhhCBAnzztyXjIn56gZuGy4sM3D4gocdOLACJ+0GayTj3q8aSSt fi9Q== X-Received: by 10.66.119.201 with SMTP id kw9mr88901174pab.49.1438135834804; Tue, 28 Jul 2015 19:10:34 -0700 (PDT) Received: from neil.creepingfur.org (104-193-168-11.PUBLIC.monkeybrains.net. [104.193.168.11]) by smtp.gmail.com with ESMTPSA id kw5sm37689848pab.29.2015.07.28.19.10.33 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 Jul 2015 19:10:33 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Subject: Re: docker info? From: Benjamin Perrault In-Reply-To: Date: Tue, 28 Jul 2015 19:10:32 -0700 Cc: Michael Dexter , owner-freebsd-virtualization@freebsd.org, freebsd-virtualization@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <8C558056-77D5-46C1-899B-84C8FBF5E63A@gmail.com> References: <4d6bdf33235afb887de3c0092073db5a@thebighonker.lerctr.org> <55B7BAC0.2040703@callfortesting.org> <55B82FF6.4040500@callfortesting.org> To: Larry Rosenman X-Mailer: Apple Mail (2.2102) 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: Wed, 29 Jul 2015 02:10:36 -0000 > On Jul 28, 2015, at 6:55 PM, Larry Rosenman wrote: >=20 > On 2015-07-28 20:44, Michael Dexter wrote: >> On 7/28/15 1:17 PM, Kegan Myers wrote: >>> Make sure you have permissions. Docker isn't good at figuring out = that you >>> need sudo or other permissions to talk to the socket. >> Also, do make sure you are using a recent version of 11 CURRENT or a >> 10.2 BETA/RC. I do not know what errors will be thrown by older >> versions of FreeBSD with Linux images, though they will support >> FreeBSD images with some risk of ABI mismatch. >> Michael >> _______________________________________________ >> freebsd-virtualization@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization >> To unsubscribe, send any mail to >> "freebsd-virtualization-unsubscribe@freebsd.org" >=20 > I'm running absolutely top of tree. >=20 > borg.lerctr.org /home/ler $ sudo -s > Password: > borg.lerctr.org /home/ler # docker info > Get http:///var/run/docker.sock/v1.19/info: EOF. Are you trying to = connect to a TLS-enabled daemon without TLS? > borg.lerctr.org /home/ler # ps auxw|grep docker > root 867 0.0 0.0 14412 2220 - Is 16:48 0:00.00 = daemon: /usr/local/bin/docker[868] (daemon) > root 868 0.0 0.0 38628 16116 - S 16:48 0:12.21 = /usr/local/bin/docker -d -e jail -s zfs -g /usr/docker -D > root 3544 0.0 0.0 18772 2548 0 S+ 20:54 0:00.00 = grep docker > borg.lerctr.org /home/ler # uname -aKU > FreeBSD borg.lerctr.org 11.0-CURRENT FreeBSD 11.0-CURRENT #29 r285983: = Tue Jul 28 16:15:05 CDT 2015 = root@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER amd64 1100077 1100077 > borg.lerctr.org /home/ler # >=20 > borg.lerctr.org /home/ler # pkg info docker-freebsd > docker-freebsd-20150625 > Name : docker-freebsd > Version : 20150625 > Installed on : Wed Jul 22 11:17:21 CDT 2015 > Origin : sysutils/docker-freebsd > Architecture : freebsd:11:x86:64 > Prefix : /usr/local > Categories : sysutils > Licenses : APACHE20 > Maintainer : kmoore@FreeBSD.org > WWW : https://github.com/kvasdopil/docker > Comment : Docker containment system > Annotations : > Flat size : 11.5MiB > Description : > Docker is an open source project to pack, ship and run any > application as a lightweight container. >=20 > Docker containers are both hardware-agnostic and platform-agnostic. > This means they can run anywhere, from your laptop to the largest > EC2 compute instance and everything in between - and they don't > require you to use a particular language, framework or packaging > system. That makes them great building blocks for deploying and > scaling web apps, databases, and backend services without depending > on a particular stack or provider. >=20 > WWW: https://github.com/kvasdopil/docker >=20 > borg.lerctr.org /home/ler # > =E2=80=94=20 ~20% of a few customers containers have had issues - from stability to = performance to bizarre behavior - but most of it is rather new stuff = based off CoreOS, Ubuntu 15.x, Debian 8.1, etc. - with CoreOS showing = issue the most often. These all have VERY recent kernels, so it=E2=80=99s = likely missing ABI functionality in the emulation layer.=20 With that said - I=E2=80=99ve found that Ubuntu 12/14 LTS and = Centos/RHEL 6.x containers work great. Most Centos 7 ones we=E2=80=99ve = tested also seem to be okay - though later 7/7.1 have show high cpu = usage and erratic network performance. Once I have time, I might delve = deeper into it - though it=E2=80=99s not a huge priority at the moment. Hopefully that was useful in some capacity. best, -bp @creepingfur =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D You shouldn=E2=80=99t let poets lie to you. - Bjork=20=