Install snaps in Dockerfile

Bug #1841327 reported by Dark Dragon
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snappy
Won't Fix
Undecided
Unassigned

Bug Description

snappy has too many dependencies which prevent installation in a Dockerfile. With more and more applications migrating to snaps, this problem becomes more severe.

Please reduce dependencies from the installer to allow installation from within Dockerfile!

Tags: wishlist
Revision history for this message
Dark Dragon (darkdragon-001) wrote :

I just noticed that many server applications are delivered using snaps nowadays as well [1]. If you want to continue see widespread adoption of Ubuntu in docker containers, this issue should definitely addressed!

[1] subiquity installer screenshot: https://www.virtualizationhowto.com/wp-content/uploads/2018/09/Selecting-popular-SNAPS-to-install-during-Ubuntu-Server-18.04-Installation-and-Configuration.png

Revision history for this message
Dark Dragon (darkdragon-001) wrote :

It would be really nice to remove dependency on systemd init system!

mase (i-lp-f)
tags: added: wishlist
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

If I understand correctly you'd like to use snapd or specific snaps inside docker. Sadly this is not supported and not something we can improve. Docker is an application container and not a system container. Snapd is designed as a system package manager. It expect to interact with system level services, like systemd.

I'm marking this as won't fix because it's simply not something we are aiming to provide.

Changed in snappy:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.