Frameworks?

Alexander Sack asac at canonical.com
Wed Dec 10 18:34:30 UTC 2014


Hi,

On Wed, Dec 10, 2014 at 8:58 AM, Christopher Glass <tribaal at gmail.com> wrote:
> The vocal newbie is striking again :)
>
> I notice the examples mention a docker "framework", but while I
> understand the functionality it provides, I am not certain to
> understand:
>
> 1. What the fundamental difference is (it's an app with wider
> filsystem write/apparmor permissions?)

Yes, frameworks are a direct extension of ubuntu-core and are packaged
using the .snap format. As extension of the base system they run in
carefully crafted confinement profiles and also can extend security
profiles available for apps that depend on them.

We know that frameworks will be an important key for a snappy world,
but initially we really would like to see how far the fast moving app
world can go with what is provided by ubuntu-core. In particular
bundling all the dependencies that you need inside a snapp will bring
you a long way and we explicitly encourage that model for developing
and publishing your goodness through our store.

Let us know how things go and where you hit challenges so we can look
at those together!

> 2. How one goes about writing such a framework. Maybe a link to the
> docker framework source would be enough? (I'm asking this explicitly
> so that other snappy newbs can use their google-fu on this hopefully
> indexed mailing list :))
>

Take a look at the docker on https://code.launchpad.net/snappy-hub ...
this will give you a good starting point if you want to play around
with frameworks. Note that documentation and further refinements to
frameworks will be coming soon so maybe wait for those before going
very deep on exploring this concept!

That said, feel free to play around and let us know what cool stuff
you are able to do with what is already there!

> Thanks again,

Thanks!

 - Alexander



More information about the snappy-app-devel mailing list