From owner-freebsd-virtualization@freebsd.org Wed Jul 29 02:14:22 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 533F89AD371; Wed, 29 Jul 2015 02:14:22 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 281711EF4; Wed, 29 Jul 2015 02:14:22 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version; bh=fYCAHEq7LSVZAfwCtrivi7SCC0/Dru1RRVvNZOGjc90=; b=m/+nf+sUCRbvICIKpwtcH17zy3pdSIje2+8XC6xOoXV1ir4prmBwynCv773avWEFid7hMq05PAkWmZKEoL056LTiG4gILMDokIOgyMt34D9tC9nXD8ZklxsASvguYQPiUyTlRTFTNmfwjwj0asFYnRT2rn6egdto/Efo1furb6U=; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]:34871 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.85 (FreeBSD)) (envelope-from ) id 1ZKGsu-0003He-Na; Tue, 28 Jul 2015 21:14:20 -0500 Received: from cpe-70-113-56-244.austin.res.rr.com ([70.113.56.244]) by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Tue, 28 Jul 2015 21:14:20 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Tue, 28 Jul 2015 21:14:20 -0500 From: Larry Rosenman To: Benjamin Perrault Cc: Michael Dexter , owner-freebsd-virtualization@freebsd.org, freebsd-virtualization@freebsd.org Subject: Re: docker info? In-Reply-To: <8C558056-77D5-46C1-899B-84C8FBF5E63A@gmail.com> References: <4d6bdf33235afb887de3c0092073db5a@thebighonker.lerctr.org> <55B7BAC0.2040703@callfortesting.org> <55B82FF6.4040500@callfortesting.org> <8C558056-77D5-46C1-899B-84C8FBF5E63A@gmail.com> Message-ID: <8d8ac6cf02de937085aa51bfdb90c484@thebighonker.lerctr.org> X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.1.2 X-Spam-Score: -1.0 (-) X-LERCTR-Spam-Score: -1.0 (-) X-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 X-LERCTR-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1, SHORTCIRCUIT=-0.0001 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:14:22 -0000 On 2015-07-28 21:10, Benjamin Perrault wrote: >> On Jul 28, 2015, at 6:55 PM, Larry Rosenman wrote: >> >> 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" >> >> I'm running absolutely top of tree. >> >> 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 # >> >> 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. >> >> 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. >> >> WWW: https://github.com/kvasdopil/docker >> >> borg.lerctr.org /home/ler # >> — > > ~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’s > likely missing ABI functionality in the emulation layer. > > With that said - I’ve found that Ubuntu 12/14 LTS and Centos/RHEL 6.x > containers work great. Most Centos 7 ones we’ve 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’s not a huge priority at the moment. > > Hopefully that was useful in some capacity. > > best, > -bp > @creepingfur > ======================== > You shouldn’t let poets lie to you. > - Bjork i docker info supposed to work from the HOST OS or in the container? I've been trying it from the Host OS. -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 108 Turvey Cove, Hutto, TX 78634-5688