LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-26-2019, 07:01 PM   #1
Sarke
LQ Newbie
 
Registered: Feb 2004
Distribution: Mandrake 10.0
Posts: 9

Rep: Reputation: 0
Exclamation Running more than one Linux distro using images and overlay, like containers


I got this idea the other day and I hope someone else might have also had it.

Basically, with Docker, containers, snapcraft, flatpak, and such we have prebuilt images that are used with overlay fs to mount the filesystem. I was wondering if this same technique can be applied to the host Linux system itself?

Imagine for example, on boot, you are greeted with a menu much like how grub allows you to select which partition to boot from. But instead you can select some pre-downloaded images of default systems of whatever distros you fancy.

Some benefits I see would be:

1. Much faster install, allowing to download prebuilt images instead of installing from source image on media.

2. Much easier to keep the OS up to date, instead of having to run major upgrades.

3. Quickly reset to original image (and take snapshots)

4. No wasted space by having to use different partitions.


So like I mentioned, I feel this might not be a unique idea, and I hope someone has some resources or thoughts on this. I think it could be the natural progression as this sort of tech was brought to devops via docker, then desktop apps with snapcraft and flatpak.
 
Old 05-26-2019, 09:05 PM   #2
RickDeckard
Member
 
Registered: Jan 2014
Location: Canton, Georgia, USA
Distribution: Debian 12
Posts: 205

Rep: Reputation: Disabled
So what you're suggesting is something akin to Type 1 virtualization. Why not just use that, since pre-downloaded images would have to reside on the host drive anyway?
 
1 members found this post helpful.
Old 05-27-2019, 02:44 AM   #3
Sarke
LQ Newbie
 
Registered: Feb 2004
Distribution: Mandrake 10.0
Posts: 9

Original Poster
Rep: Reputation: 0
Not really looking to go down the VM route, several drawbacks.
 
Old 05-27-2019, 08:38 AM   #4
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
So, snapcraft and flatpak are application "containers" for lack of a better word, not OS containers. Docker is an OS and app "container". What you are describing is OS virtualization.
 
Old 05-27-2019, 09:17 AM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,681
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
Sounds like Bedrock Linux.
 
Old 05-27-2019, 10:11 PM   #6
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Or UserLand on Android? https://play.google.com/store/apps/d...E8u9ggeV_6a4CA

Last edited by Mill J; 05-27-2019 at 10:14 PM.
 
  


Reply

Tags
boot, containers, distos, overlay



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Everything You Need to Know about Linux Containers, Part II: Working with Linux Containers (LXC) LXer Syndicated Linux News 0 08-27-2018 01:53 PM
LXer: Containers Running Containers with LinuxKit LXer Syndicated Linux News 0 06-09-2017 06:52 AM
LXer: Containers running Containers LXer Syndicated Linux News 0 04-30-2017 04:30 PM
[SOLVED] How to select more than 1 line,copy those selected more than one line,and paste them. shabariv Linux - Newbie 1 02-02-2015 11:51 AM
Live Image mount: union FS overlay vs dmsetup overlay kostya Linux - Software 2 02-16-2012 06:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration