4 ms·
flatpak requires a desktop session so one straightforward difference is that snaps make sense on servers and iot devices which has to be said is probably where
by Barrin92 5y ago
flatpak requires a desktop session so one straightforward difference is that snaps make sense on servers and iot devices which has to be said is probably where 90% of linux systems live on, and I think where Canonical's business focus has been.
- TeddyDD 5y agoI don't get it. What's the point of using Snaps on server when it's simpler to just run containers?
- Barrin92 5y agosnap provides a form of containerization, if you talk about something like Docker, snap is significantly simpler because it's a container for an app rather than a container effectively for an entire VM. Practical example, I use nextcloud as a snap, which requires basically one command, it self updating, shares the same IP as the host whereas each docker container would have a separate ip. If you only want to isolate an individual application on a host system (which is a common use-case) most container technologies are overkill.
- the_why_of_y 5y ago> shares the same IP as the host whereas each docker container would have a separate ip docker run --network=host was available several years earlier than snap.