Skip to content

Instantly share code, notes, and snippets.

@maestrow
Last active March 5, 2021 10:58
Show Gist options
  • Save maestrow/03d39470cd1a5962d8121f24a5a15934 to your computer and use it in GitHub Desktop.
Save maestrow/03d39470cd1a5962d8121f24a5a15934 to your computer and use it in GitHub Desktop.
Containers everywhere

Run GUI apps in Docker

Ok, Snap. what's the main difference between Docker and Snap?. Mark Shuttleworth's talk "Why we need a different container purely for apps" at Container Camp. In this youtube video we see comments:

  • Amazing. I hope Flatpak and Snap goes default way of apps shipment under GNU/Linux soon.
  • please no. I prefer the way it works today, you don't have all that duplicated dependencies, it's more efficient to stay with things like they are right now. If a change will be made, I'm not against Flatpak or Snap, they will be useful to deploy new software from upstream to the distributions, or even software that's been working in linux for a long time to distributions with less resources that will be graceful with this (like Solus). I like the fact that they bring a way to directly connect the deployment of software with the developers of that software, but in the major distributions this new technologies will have to work in parallel with the old software management tools like apt-get, pacman, dnf, etc. The only technology that i would like to see everywhere replacing everything is Nix or Guix, because they work in a similar way, but are very efficient and don't duplicate dependencies.
  • Flatpack actually gives you the option to include packages or use external packages. Since I'm mostly on ubuntu, my hope is that snap will also adopt such features.
  • Snap has that and has had that for years now. For instance, if you have a Windows application, you can package it as a snap and ask it to use the wine-platform snap. So the Windows app won't distribute its own wine, but use a common one. This is what the Notepad++ snap does. The same way, a Gnome application doesn't have to distribute its Gnome dependencies, but can instead use the appropriate Gnome platform. So if you have three apps built for Gnome 3.26 and five for Gnome 3.30, then they would use the gnome-3.26-1604 and gnome-3.30-1804 snaps respectively.

Nix or Guix?

Guix — самая продвинутая операционная система 21 января 2019

See also

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment