4 ms·
Are people actually using Snap in containers? It feels like a convenience feature for desktop users.
by heavyset_go 5y ago
Are people actually using Snap in containers? It feels like a convenience feature for desktop users.
- ZiiS 5y agoThey don't give you the choice. Applications are only avaliable as either a snap or an deb. With many you might want to containerise (ie Chromium for CI) being snaps. I dont belive they can work in unpriviledged docker containers.
- yunohn 5y agoWhich apps are you using via Docker, that are only available as a snap?
- shaicoleman 5y agoThere are Chromium debs for Ubuntu 20.04 available from the Linux Mint repo. To get it Chromium under docker, I'm using the following params: --headless --no-sandbox --disable-gpu --window-size=1920,1080 --disable-dev-shm-usage
- heavyset_go 5y agoI understand that, it's just my impression with using Snap that it's used to ship desktop applications in a consistent way.
- bigpod 5y agoyou cannot use snap inside a docker or any other OCI container, first of all snap is a containerised package as well so it doesnt make much sense but what is more important it requires SystemD and as far as i know if systemd isnt PID 1 snap deamon wont run and its CLI will output it cant run.