MassOS-Linux / MassOS

Main source repository for the MassOS operating system.
https://massos.org
Other
97 stars 8 forks source link

[Feature Request]: add docker or Podman (or alternative) as a native functionality #39

Open TH3VenGeuR opened 2 years ago

TH3VenGeuR commented 2 years ago

Checklist

Suggestion

I was considering MassOS as my main distro in professionnal context because it's light, independant, mostly opensource and up to date. Installed OS in virtual machine to discover functionality, and the big stop was : i can't run containers. I read tutorials to install runc and then podman but without success. So now my request : do you consider implement docker or Podman or alternative in MassOS ?

TheSonicMaster commented 2 years ago

Thanks for the suggestion.

If we were going to provide anything, I think Podman would be a better choice since it also provides drop-in compatibility program for Docker.

The installed size of Podman is fairly large, so I'm reluctant to add it to MassOS by default, however offering it as something like an "add-on" or additional software doesn't seem too unreasonable. It doesn't seem to have any dependencies outside of what MassOS already contains.

Some people have requested support for other larger software too, so implementing something like a repository containing larger programs which people can optionally install on their system seems viable and is definitely something that will considered. It shouldn't be necessary for smaller and more trivial programs, since those should be easy to compile from source if needed.

I'll keep this issue updated with any future information/development about it.

TH3VenGeuR commented 2 years ago

I'm not confortable with programming, but i'm experienced in sysadmin and devops, so feel free to ask for help on topics like that.

TH3VenGeuR commented 2 years ago

In the past days, i've been working on hosting Podman for MassOS. I created a MassOS repository where are hosted podman (running rootless) and it's dependancies. It only requires to install masspkg add the repo and run masspkg install podman-rootless.

The code : https://github.com/TH3VenGeuR/podman-for-MassOS

Also a big thanks to @TheSonicMaster for his help in defining masspkg manifest and improving masspkg when i found bugs .

TheSonicMaster commented 2 years ago

It's nice to see a contribution for that software, and some real world use for masspkg. Other new possible ways to get Docker/Podman for anyone who needs it:

  1. The aforementioned masspkg custom repository. Probably the preferred way. I presume that package also provides the docker compatibility script of Podman.
  2. Snapd: snap install docker. To install snapd on MassOS, look at the MassOS-Snapd repository. Podman is not available from snapd.
  3. Homebrew: brew install docker or brew install podman. See here for information about setting up Homebrew on MassOS.