Is snap a form of container like Docker?

I am trying to wrap my head around this and that is what it seems like.

If I were to use this, I would want to use this to deploy to a cloud VPS running Linux.

Could I package into a snap, a private version of Perl, a webserver and other software and just run it in my little snap space? And deploy copies of it into many different VPS environments?



Hi @Bodger. Yes, you could bundle a copy of Perl, a webserver, and any additional software you need into a single snap. Rocket.Chat is a good example of this. It bundles the Mongo database and Caddy webserver alongside the application.

If your snap is using devmode or strict confinement, its behaviour will be the same across all your different VPS environments.

1 Like