MassOS icon indicating copy to clipboard operation
MassOS copied to clipboard

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

Open TH3VenGeuR opened this issue 2 years ago • 4 comments

Checklist

  • [X] I have searched for other issues, and can confirm my feature request has not already been reported.
  • [X] If I am suggesting the addition of a program, the program is free software and licensed under a GPL-compatible license.

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 ?

TH3VenGeuR avatar Jul 03 '22 13:07 TH3VenGeuR

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.

TheSonicMaster avatar Jul 03 '22 14:07 TheSonicMaster

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 avatar Jul 03 '22 14:07 TH3VenGeuR

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 .

TH3VenGeuR avatar Jul 08 '22 18:07 TH3VenGeuR

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.

TheSonicMaster avatar Aug 08 '22 19:08 TheSonicMaster