From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: official Emacs Docker image Date: Fri, 30 Dec 2016 14:08:50 -0800 Message-ID: References: <831tbxn5id.fsf@gnu.org> <87oaf1bvsb.fsf@wanadoo.es> <87mvukq7gd.fsf_-_@lifelogs.com> <877fcyg5ah.fsf@lifelogs.com> <87h9c0b6bd.fsf@lifelogs.com> <878txa9zvx.fsf@lifelogs.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1483135773 6113 195.159.176.226 (30 Dec 2016 22:09:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 30 Dec 2016 22:09:33 +0000 (UTC) User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.90 (darwin) Cc: emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 30 23:09:28 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cN5Ma-0000QM-Df for ged-emacs-devel@m.gmane.org; Fri, 30 Dec 2016 23:09:24 +0100 Original-Received: from localhost ([::1]:41652 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cN5Mf-0005eh-C1 for ged-emacs-devel@m.gmane.org; Fri, 30 Dec 2016 17:09:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cN5M3-0005eN-Ds for emacs-devel@gnu.org; Fri, 30 Dec 2016 17:08:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cN5M0-000620-7J for emacs-devel@gnu.org; Fri, 30 Dec 2016 17:08:51 -0500 Original-Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]:33181) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cN5M0-00061u-22; Fri, 30 Dec 2016 17:08:48 -0500 Original-Received: by mail-pg0-x244.google.com with SMTP id g1so23194097pgn.0; Fri, 30 Dec 2016 14:08:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mail-followup-to:mime-version; bh=cqZZoNsWHdA4vZQZCZsvU+wzj2H6WPfj392kEI1yBfg=; b=pL14+CaLgpdL5suELtQGyZ0oSOMVVpeSwokP1XTX5tV3WXviK2ErdD00bIJNSqZbc4 kH5NELxQefF11beZn10NT2inAgmVlB5LWOVdPWHws0p3J6pRYlKnCmUmookPDmjZPGBS JxPWY5TZDuG1HaUpIRcP12W5rZSKNPFnnsC6Z/OcxD/utmbLgKiL1UrRRSABZiz+P8aD 03+IaKxUt3hZdcWVMbxz9g4GtSqc/QjjWQZyFOl9an7XKW1BE0SKlJEQ1vrES9XLqb9N pmeUGFt8jOzCZ8usV1SQerb033NvBP9RFA6fhUVxqd1zs8LntsB3vsipuM8nVqQ2Wrlx cbTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:mail-followup-to:mime-version; bh=cqZZoNsWHdA4vZQZCZsvU+wzj2H6WPfj392kEI1yBfg=; b=cBSimynEIpGyI8v4DwTmE0c2I02J5IrKjp5UEGh0A3nqFZMOkySALa2puGMio3Gu3q xhgGR9hC5RffRqn77skkJOFdmlBoqhwBmswZFl8foEZTp89e9ryS5oPPb2FMqLVVCtkZ 7GZWolOGsZoMbL8Jd5zwcvFW6Toud/7qhP26emF0WRAgHhKie7dVQUwoMoVjtnRFM86F rcAfF0V0Hoc0HXpkVThJrxj8Ireq4rgHRbMW8Xd78u3zdZICKGLrvgsFo+5xuN1QYQY5 zQ3ZldKBf4OrTEAs9TyWW3VCps1ORQF162z6PgycCPwqxdcfxOTsD89bxpE/3jS9Risa dbfQ== X-Gm-Message-State: AIkVDXIREcgGGo5eclnjx+e9t5BzyZMZwC0bEhs09eL0Mo4lkyzRtPAY4oLIklFP6JRy7Q== X-Received: by 10.99.117.71 with SMTP id f7mr88237086pgn.126.1483135726901; Fri, 30 Dec 2016 14:08:46 -0800 (PST) Original-Received: from Vulcan.local (76-234-69-149.lightspeed.frokca.sbcglobal.net. [76.234.69.149]) by smtp.gmail.com with ESMTPSA id q145sm114747887pfq.22.2016.12.30.14.08.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 30 Dec 2016 14:08:46 -0800 (PST) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id BD2A1332E55; Fri, 30 Dec 2016 14:08:52 -0800 (PST) In-Reply-To: (Richard Stallman's message of "Fri, 30 Dec 2016 16:36:42 -0500") Mail-Followup-To: Richard Stallman , emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c05::244 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:211009 Archived-At: >>>>> Richard Stallman writes: > I see how it makes sense to use this on Windows. But it seems absurd to use > this on GNU/Linux. Why does anyone do that? On GNU/Linux systems, it runs the image in a low-cost container, providing better process separation than chroot, while also allowing you to use alternative kernel versions, or a different distro (for example, running something built for CentOS on a Debian box). > How big would such a docker image be? I know that disks are getting bigger, > but how many such applications could fit on a typical laptop? Probably <200M, if constructed well, and with all sources and documentation made available within the image. > However, I don't see any ethical issue about making and distributing Docker > images of Emacs as long as we get the details right: for instance, use an > endorsed free GNU/Linux distro. > > Do you see any specific issues we need to consider? No, I think we can provide a 100% free image, that others could run on any system supporting Docker-engine (Windows, FreeBSD, Mac, GNU/Linux). This will allow them to experience identical behavior on all those systems. It would also be able to edit host files, if the user passes -v to map one or more host directories into the container. As to *why* anyone would want to do this: The biggest advantage to Docker is not packaging a single application, since Emacs can already run on all these systems. It's having the ability to test a perfectly self-contained Emacs, that runs within a virgin environment every time (any changes made to the container are lost as soon as the container is stopped). One could then have multiple Emacsen available, and be able to run tests on each version, without disturbing their host machine's installation. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2