unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: joakim@verona.se
To: Richard Stallman <rms@gnu.org>
Cc: John Wiegley <jwiegley@gmail.com>, emacs-devel@gnu.org
Subject: Re: official Emacs Docker image
Date: Fri, 30 Dec 2016 23:01:46 +0100	[thread overview]
Message-ID: <m3shp4l16g.fsf@chopper> (raw)
In-Reply-To: <E1cN4qw-0003zT-Tf@fencepost.gnu.org> (Richard Stallman's message of "Fri, 30 Dec 2016 16:36:42 -0500")

Richard Stallman <rms@gnu.org> writes:

> [[[ To any NSA and FBI agents reading my email: please consider    ]]]
> [[[ whether defending the US Constitution against all enemies,     ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
>   > I see now that I was unclear: A Docker image is a self-contained tarball
>   > containing a GNU/Linux kernel, necessary system software, and the final Emacs
>   > executable that was built by the image recipe.
>
> Now it is coherent.
>
>   > The Docker image contents, thus, can be entirely free software. Executing the
>   > image on some platforms (such as Windows) may use proprietary software to
>   > perform the execution (for example, VM provisioning software).
>
> 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?

It is quite useful in order to handle dependencies.

When developing an emacs feature I found it useful to test the feature
by having many different emacs docker containers, each one containing
different gnu/linux distributions and different emacs compile flags.
It was very convenient in order to test all the different configurations
on a single machine.

A container is a bit like a virtual machine but also a bit like a
traditional changeroot.

Another thing to consider is that Docker isn't fantastic for desktop
applications, at least when I used Docker for this purpose. It is
doable, by manipulating X sockets and whatnot.

For this reason alternatives are emerging with focus on desktop
applications, such as Flatpak. Gnome applications can be accessed with
Flatpak for instance.

Another method is using Gnu Guix.

All methods have their pros and cons and different usage scenarios.

>
> 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?

Docker uses layered copy on write file systems in order to save space.
Basically, each container can re-use the filesystem usage of other
containers. I can't provide an exact figure of how many docker packaged
applications can fit on a laptop, but "many" is a reasonable assumption.

> 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?
-- 
Joakim Verona
joakim@verona.se
+46705459454



  reply	other threads:[~2016-12-30 22:01 UTC|newest]

Thread overview: 126+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-10 13:57 Move to a cadence release model? John Yates
2015-11-10 14:28 ` John Wiegley
2015-11-10 16:42   ` Eli Zaretskii
2015-11-10 17:03     ` John Wiegley
2015-11-11  0:17       ` Release process (was Re: Move to a cadence release model?) Stephen Leake
2015-11-11  0:24         ` John Wiegley
2015-11-11  3:45         ` Eli Zaretskii
2015-11-11 10:45           ` Stephen Leake
2015-11-11 15:43             ` Eli Zaretskii
2015-11-11 23:06               ` bug policy (was Re: Release process) Stephen Leake
2015-11-12 16:12                 ` Eli Zaretskii
2015-11-12 16:39                   ` John Wiegley
2015-11-12 17:36                     ` Eli Zaretskii
2015-11-12 17:50                       ` John Wiegley
2015-11-12 18:04                         ` Eli Zaretskii
2015-11-11 16:39             ` Release process (was Re: Move to a cadence release model?) John Wiegley
2015-11-12  8:19               ` Xue Fuqiao
2015-11-17  0:09                 ` Xue Fuqiao
2015-11-12  8:15             ` Xue Fuqiao
2015-11-10 14:32 ` Move to a cadence release model? Alan Mackenzie
2015-11-10 17:13   ` Eli Zaretskii
2015-11-10 17:11 ` Eli Zaretskii
2015-11-10 17:37   ` Óscar Fuentes
2015-11-10 17:44     ` Automate Emacs UI testing? (was: Move to a cadence release model?) John Wiegley
2015-11-10 18:01       ` Automate Emacs UI testing? Ashton Kemerling
2015-11-10 18:02       ` Automate Emacs UI testing? (was: Move to a cadence release model?) Eli Zaretskii
2015-11-10 19:16       ` Automate Emacs UI testing? joakim
2015-11-10 19:37         ` John Wiegley
2015-11-11 16:59         ` Richard Stallman
2015-11-11 17:18           ` joakim
2015-11-11 23:27             ` Richard Stallman
2015-11-12  2:26               ` official Emacs Docker image (was: Automate Emacs UI testing?) Ted Zlatanov
2015-11-12 15:49                 ` official Emacs Docker image Nic Ferrier
2015-11-12 21:01                   ` Ricardo Wurmus
2015-11-12 22:31                 ` official Emacs Docker image (was: Automate Emacs UI testing?) Richard Stallman
2015-11-12 23:32                   ` official Emacs Docker image joakim
2016-07-06 15:22                   ` Ted Zlatanov
2016-07-07 21:56                     ` Richard Stallman
2016-07-08 13:36                       ` Ted Zlatanov
2016-07-09 16:54                         ` Richard Stallman
2016-07-09 23:04                           ` Ted Zlatanov
2016-07-10 14:25                             ` Richard Stallman
2016-07-12 22:45                             ` John Wiegley
2016-07-13 13:12                               ` Richard Stallman
2016-07-13 16:34                                 ` John Wiegley
2016-12-30  0:10                                   ` Richard Stallman
2016-12-30  0:53                                     ` John Wiegley
2016-12-30 21:36                                       ` Richard Stallman
2016-12-30 22:01                                         ` joakim [this message]
2016-12-30 22:08                                         ` John Wiegley
2016-12-31 18:25                                           ` Richard Stallman
2017-01-27 14:56                                             ` Ted Zlatanov
2017-01-27 19:45                                               ` Filipe Silva
2017-01-30 14:36                                                 ` Ted Zlatanov
2017-01-30 17:10                                                 ` Ricardo Wurmus
2017-01-30 17:44                                                   ` Ted Zlatanov
2017-01-31  0:14                                                     ` Filipe Silva
2017-01-31 14:32                                                       ` Ted Zlatanov
2017-02-01  3:03                                                         ` Richard Stallman
2017-02-01 15:25                                                           ` Ted Zlatanov
2017-02-02  2:53                                                             ` Richard Stallman
2017-02-02  5:13                                                               ` Mike Gerwitz
2017-02-02 14:21                                                               ` Ted Zlatanov
2017-02-03  7:00                                                                 ` Stefan Reichör
2017-02-03 11:18                                                                   ` Filipe Silva
2017-02-04  2:56                                                                     ` Mike Gerwitz
2017-02-03 13:45                                                                   ` Ted Zlatanov
2017-02-03 21:59                                                                     ` Richard Stallman
2017-02-03 23:38                                                                       ` Ted Zlatanov
2017-02-03 23:54                                                                         ` Jean-Christophe Helary
2017-02-04  0:37                                                                           ` Filipe Silva
2017-02-04  1:12                                                                             ` Jean-Christophe Helary
2017-02-04  1:32                                                                               ` Filipe Silva
2017-02-04 23:52                                                                               ` Richard Stallman
2017-02-05  0:24                                                                                 ` Jean-Christophe Helary
2017-02-04 23:54                                                                             ` Richard Stallman
2017-02-04  3:11                                                                         ` Mike Gerwitz
2017-02-04  4:13                                                                           ` Ted Zlatanov
2017-02-04  4:47                                                                             ` Mike Gerwitz
2017-02-06 10:49                                                                               ` Giuseppe Scrivano
2017-02-13  8:37                                                                                 ` Richard Stallman
2017-02-13  9:55                                                                                   ` Giuseppe Scrivano
2017-02-14  0:48                                                                                     ` Richard Stallman
2017-02-14  2:07                                                                                       ` Mike Gerwitz
2017-02-14  2:04                                                                                 ` Mike Gerwitz
2017-02-04 23:54                                                                             ` Richard Stallman
2017-02-05  0:47                                                                               ` Ted Zlatanov
2017-02-04 23:48                                                                 ` Richard Stallman
2017-01-28  2:18                                               ` Richard Stallman
2017-02-21 15:01                                               ` Philippe Vaucher
2017-03-02 15:03                                                 ` Ted Zlatanov
2017-03-03 10:09                                                   ` Philippe Vaucher
2017-03-03 10:15                                                     ` Philippe Vaucher
2017-03-08 20:30                                                       ` Philippe Vaucher
2017-03-13 10:03                                                         ` Philippe Vaucher
2018-04-04 18:33                                                         ` Philippe Vaucher
2016-12-31 22:04                                         ` Ricardo Wurmus
2017-01-01  5:39                                           ` Elias Mårtenson
2017-01-01  9:03                                             ` Ricardo Wurmus
2017-01-01 10:15                                               ` Elias Mårtenson
2017-01-06 15:56                                                 ` Ricardo Wurmus
2017-01-07 23:19                                                   ` Philippe Vaucher
2016-12-31  1:22                                       ` Yann Hodique
2016-12-31  2:08                                         ` John Wiegley
2017-01-28 11:06                                       ` Alex Bennée
2016-12-31 10:11                                     ` Philippe Vaucher
2016-07-13 14:41                               ` Ted Zlatanov
2015-11-12 11:36         ` Automate Emacs UI testing? Mathieu Lirzin
2015-11-12 11:43           ` joakim
2015-11-10 18:20 ` Move to a cadence release model? Richard Stallman
2015-11-10 23:50   ` Xue Fuqiao
2015-11-10 23:58     ` John Wiegley
2015-11-11  1:55       ` John Yates
2015-11-11  9:02         ` Xue Fuqiao
2015-11-11 15:37         ` Eli Zaretskii
2015-11-12 22:35         ` Richard Stallman
2015-11-11 15:49       ` Eli Zaretskii
2015-11-12 11:27         ` Stelian Iancu
2015-11-12 16:22           ` Eli Zaretskii
2015-11-12 16:44             ` Stelian Iancu
2015-11-12 16:57               ` Eli Zaretskii
2015-11-11 15:48     ` Eli Zaretskii
2015-11-12  7:23       ` Xue Fuqiao
2015-11-12  7:37         ` Xue Fuqiao
2015-11-12 16:15         ` Eli Zaretskii
2015-11-20  3:02 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3shp4l16g.fsf@chopper \
    --to=joakim@verona.se \
    --cc=emacs-devel@gnu.org \
    --cc=jwiegley@gmail.com \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).