News for hackers. Stuff that matters.
Re:An overview of single-purpose Linux distributions by LeoPanthera on Friday February 17, 2023 @01:00PM (#34838052)
This is one of those things that I've always been too scared to ask so I'm just going to ask it now: Is there a distro designed exclusively for running docker (and perhaps other) containers that also contains a friendly web UI for people who have no idea how docker actually works?

I'm familiar with Proxmox, but it doesn't natively support docker.

Re:An overview of single-purpose Linux distributions by JHonaker on Friday February 17, 2023 @01:31PM (#34838472)
OpenSUSE MicroOS is basically built around the idea of an "immutable" (read disincentivized to change) core while the majority of user space runs in a Podman container.

It was originally developed as an absolute minimal distro for running containers on servers, but the immutable desktop movement led them to develop a desktop user-facing variant.

Other ideas that are very similar: Fedora SilverBlue (very similar, more mature) and VanillaOS (based on Flatpak insteak of Podman/Docker, very new)

Re:An overview of single-purpose Linux distributions by kccqzy on Friday February 17, 2023 @05:02PM (#34841205)
If you install openSUSE these days during setup you have the option to set up the company as a "transactional server" with this immutable environment. I love that writing to /usr/bin fails with read-only file system. It's implemented as a read-only btrfs snapshot.
Re:An overview of single-purpose Linux distributions by imachine1980_ on Friday February 17, 2023 @05:12PM (#34841305)
I'm sorry what these means?, can you explaine it again whit more details?
Re:An overview of single-purpose Linux distributions by kccqzy on Friday February 17, 2023 @07:10PM (#34842392)
It's already well-explained in the linked article:

> OpenSUSE MicroOS has a read-only root file system, using Btrfs. Transactional updates are handled by a SUSE-specific wrapper script around the package manager zypper, transactional-update. This creates a new Btrfs snapshot of the root file system and then performs an update of the system. If the installation was successful, the script marks the new snapshot as the default snapshot. On errors, the snapshot is discarded and the previous one remains as the default. A reboot activates the new snapshot.

My comment above was saying that you don't have to use MicroOS per se to get this. A regular openSUSE install supports the transactional server role that does the same thing as MicroOS.

Re:An overview of single-purpose Linux distributions by bee_rider on Friday February 17, 2023 @09:42PM (#34843317)
I think in your original comment maybe there is a slightly confusing typo? Is “company“ supposed to actually be “computer” or something like that?
Re:An overview of single-purpose Linux distributions by FireInsight on Saturday February 18, 2023 @09:21AM (#34847126)
Don't forget Fedora CoreOS, Fedora's actual container-distro! Silverblue/Kinoite are desktop distributions.

The idea and execution is very similar to MicroOS, both on the desktop and on the server. Immutability isn't as scary as it sounds, highly recommend checking it out.

No webgui though, that has to come from another project...

Re:An overview of single-purpose Linux distributions by FireInsight on Saturday February 18, 2023 @09:24AM (#34847142)
A small correction: Fedora Silverblue & co is highly Flatpak based, and the VanillaOS 'package manager' is Distrobox under the hood, which is a project for running full linux distros inside podman containers intended for desktop users.
Re:An overview of single-purpose Linux distributions by dicknuckle on Friday February 17, 2023 @01:23PM (#34838335)
RancherOS if you're looking to use something heavily tested but it's got a few weird features like most of the OS also being in containers. If you want something light to play with and get a vanilla docker experience, your best bet is likely Boot2Docker with Portainer.
Re:An overview of single-purpose Linux distributions by candiddevmike on Friday February 17, 2023 @02:10PM (#34838929)
The existing RancherOS is no longer being maintained, you probably shouldn't be using it anymore:

https://rancher.com/docs/os/v1.x/en/support/

Rancher is working on a new version.

Re:An overview of single-purpose Linux distributions by dicknuckle on Friday February 17, 2023 @07:18PM (#34842461)
News to me! Apparently I haven't used it in quite some time.
Re:An overview of single-purpose Linux distributions by gtirloni on Friday February 17, 2023 @08:52PM (#34843054)
Hasn't 2.x been released for a long time now?
Re:An overview of single-purpose Linux distributions by arjvik on Friday February 17, 2023 @09:12PM (#34843146)
Really? I loved the original RancherOS, would love to see the new version!
Re:An overview of single-purpose Linux distributions by gtirloni on Saturday February 18, 2023 @05:18AM (#34845695)
I think I'm confusing Rancher "proper" and RancherOS, sorry.

https://github.com/rancher/rancher/releases/tag/v2.7.1

Re:An overview of single-purpose Linux distributions by mikepurvis on Friday February 17, 2023 @04:49PM (#34841046)
When I last used Portainer on my home setup, the support for configuration-as-code deployment seemed pretty experimental— basically you could roll out a docker-compose config from a URL or upload as a one-off effort, but IIRC it had no ability to track that URL for changes, or update an already-deployed container set to a new configuration. I think you couldn't even give it a URL requiring authentication maybe?

All of this left me feeling like the devs had different goals than I did as a user.

But the current iteration seems like k8s/helm are first-class features now, so yeah, should definitely look again.

Re:An overview of single-purpose Linux distributions by oso2k on Friday February 17, 2023 @01:29PM (#34838432)
Fedora/RHEL have Cockpit, MicroShift, OKD, OpenShift Local, MiniKube, k3s, MicroK8s, TrueNAS SCALE
Re:An overview of single-purpose Linux distributions by GordonS on Friday February 17, 2023 @01:25PM (#34838380)
VMware's Photon OS is largely designed as a container host - I've been using it for a few years now, and it's excellent. The team are really receptive to external contributors too (it's hosted on GitHub)!
Re:An overview of single-purpose Linux distributions by blablabla123 on Friday February 17, 2023 @01:12PM (#34838205)
Not sure if that's what you're looking for but there are Kubernetes distros. And yes, this also includes a relatively nice Web UI. But it's probably not easy to setup.
Re:An overview of single-purpose Linux distributions by hhh on Friday February 17, 2023 @01:13PM (#34838221)
Not a distro, and don’t know how far you can get without knowing much about docker, but you could deploy something like Portainer.
Re:An overview of single-purpose Linux distributions by gjsman-1000 on Friday February 17, 2023 @01:07PM (#34838140)
Closest thing is probably Synology... but it's pretty basic and you need to use the terminal for some advanced things. I don't know how much a GUI helps because there's still a lot of terminology that needs to be understood.
Re:An overview of single-purpose Linux distributions by dwiechert on Friday February 17, 2023 @01:43PM (#34838617)
You might look into Umbrel - https://umbrel.com/
Re:An overview of single-purpose Linux distributions by bayank on Friday February 17, 2023 @02:02PM (#34838854)
Its paid SW, but I like Unraid OS for this. It supports Dockers, VMS, and of course an easy to manage hard drive array with parity and ssd caching support. Just being able to chuck all your old drives that are laying around, add them to the pool and bring new life to old HW was worth it for me. The docker and VM support are nice extras.
Re:An overview of single-purpose Linux distributions by pbronez on Saturday February 18, 2023 @12:21AM (#34844170)
I’m getting a lot of mileage out of Unraid, but am frustrated by their documentation and Docker implementation. While the system is slick for loading community packaged apps, it’s non trivial to load your own images. their docs are mostly just forum threads.

I’m sure it’s actually very straightforward and I’m just an idiot, but I haven’t had much luck.

Re:An overview of single-purpose Linux distributions by mardifoufs on Friday February 17, 2023 @02:06PM (#34838891)
Proxmox with native docker support would've been a dream. I know, it's easy to add it on top (since it's basically a layer over debian), but you still wouldn't get the native GUI support and the proxmox features that come with it. I don't know why they are so keen on not adding docker, and only focusing on LXC. LXC is fine, but it's pretty clear that it is far from being as popular or commonly used as Docker.
Re:An overview of single-purpose Linux distributions by Fnoord on Friday February 17, 2023 @04:27PM (#34840799)
With Proxmox since it allows you to run a VM you can run any OS with say a recent Docker version. On that OS, you can run a web GUI for Docker, using Docker. For example, Portainer. Nginx reverse proxy and done.

Although personally, I prefer Podman over Docker.

Re:An overview of single-purpose Linux distributions by mikepurvis on Friday February 17, 2023 @04:39PM (#34840927)
VMware has a product that's basically this also: https://vmware.github.io/vic-product/

But I've never quite understood the appeal. Is it about running containers with VM-level isolation? Or having a familiar GUI for managing and lifecycling them? Something else?

Fundamentally, I worry that mixing VMs and containers is more likely to end up with the worst of both worlds rather than the best— basically you get the slow bootup of starting the kernel every time, but none of the application-level benefits of sharing base layer storage or mounting the same shared volume to multiple containers at once.

Re:An overview of single-purpose Linux distributions by mardifoufs on Friday February 17, 2023 @06:16PM (#34841907)
Ah the GUI/container integration is more for homelabs/internal networks type of usage, and I agree that it makes little sense in production. Otherwise you are also right that containers should be managed in a very different way from VMs. Especially when the page you linked boasts about offering a similar experience to deploying VMs for sys admins, which might lead to unoptimal usage for both VMs and containers. (But it at least seems to offer docker container support, not the barely used LXCs. So at least it can be useful)
Re:An overview of single-purpose Linux distributions by pxc on Saturday February 18, 2023 @10:49AM (#34847738)
> the page you linked boasts about offering a similar experience to deploying VMs for sys admins, which might lead to unoptimal usage for both VMs and containers. (But it at least seems to offer docker container support, not the barely used LXCs. So at least it can be useful)

Relatively long-lived, potentially multi-process server things is what LXC is for. It makes more sense to run LXC than Docker in that situation anyway. -_-

Re:An overview of single-purpose Linux distributions by locustous on Saturday February 18, 2023 @07:56PM (#34852913)
You can run a docker container inside an lxc container. Which would give you the GUI controls over the near docker equivalent.
Re:An overview of single-purpose Linux distributions by candiddevmike on Friday February 17, 2023 @02:14PM (#34838988)
You could argue that Docker Desktop is basically this.
Re:An overview of single-purpose Linux distributions by capableweb on Friday February 17, 2023 @02:18PM (#34839031)
Docker Desktop is essentially an application, doesn't come close to being a OS or distribution.
Re:An overview of single-purpose Linux distributions by candiddevmike on Friday February 17, 2023 @02:24PM (#34839105)
A VM to run containers is a fairly large part of Docker Desktop...? https://www.docker.com/blog/the-magic-behind-the-scenes-of-d...
Re:An overview of single-purpose Linux distributions by jaywalk on Friday February 17, 2023 @03:10PM (#34839833)
It still requires a full underlying Windows or Mac OS, so it's irrelevant to the topic at hand.
Re:An overview of single-purpose Linux distributions by qbasic_forever on Friday February 17, 2023 @04:34PM (#34840868)
They're asking for an OS their computer can boot into natively.
Re:An overview of single-purpose Linux distributions by rz2k on Friday February 17, 2023 @02:23PM (#34839078)
I've never used it, but your description made me think of Webmin that I used a long time ago, and apparently the same creators have developed Virtualmin and Cloudmin that give you a web interface for managing Docker images and containers.

https://www.virtualmin.com/documentation/cloudmin/virtualiza...

Re:An overview of single-purpose Linux distributions by tych0 on Friday February 17, 2023 @02:37PM (#34839308)
docker-the-company maintained https://github.com/linuxkit/linuxkit when I worked there. I have no idea who maintains it now, but it looks like it is still active (presumably still docker-the-company, since their adopters list [1] lists docker desktop).

[1]: https://github.com/linuxkit/linuxkit/blob/master/ADOPTERS.md

Re:An overview of single-purpose Linux distributions by fsflover on Friday February 17, 2023 @03:15PM (#34839909)
Depending on why you are asking, Qubes OS might be relevant for you.
Re:An overview of single-purpose Linux distributions by trufas on Friday February 17, 2023 @04:04PM (#34840549)
For the UI part cockpit [1] lets you manage containers (amongst many other things). I use it with fedora for my home server and rarely feel the need to drop into the command line in my day to day.

[1] https://cockpit-project.org/

Re:An overview of single-purpose Linux distributions by Fnoord on Friday February 17, 2023 @04:18PM (#34840712)
HypriotOS (for ARM), but it has not been in development since 2019 or 2020.

Proxmox is neat and you can run any OS under the hood including the suggestions mentioned.

You could also go for NixOS and declare you need OCI (e.g. Docker or Podman) in your Nix config.

Re:An overview of single-purpose Linux distributions by ThatMedicIsASpy on Friday February 17, 2023 @05:25PM (#34841451)
Is this a desktop? Fedora Silverblue

Is this a server? CoreOS

Portainer or Cockpit for web UI

Re:An overview of single-purpose Linux distributions by revolvingocelot on Friday February 17, 2023 @06:02PM (#34841809)
>Fedora Silverblue

Or Fedora Kinoite! IMO KDE is probably a better fit for the root commenter's "I just want a UI" position.

Re:An overview of single-purpose Linux distributions by seized on Friday February 17, 2023 @06:46PM (#34842150)
There is also Fedora IoT which contrary to the name is kinda like Silverblue server or really an easy CoreOS. Works very well for containers.
Re:An overview of single-purpose Linux distributions by fraudster on Friday February 17, 2023 @05:43PM (#34841651)
Kind of a left-field pic, and def not exclusively for running docker, but TrueNAS Scale offers a nice abstraction for running docker containers, with the simple webui interface you're asking for. I believe it uses K8s under the hood, and it's coupled with NAS software, but this seems maybe the closest to what you're asking for that I've seen.

https://www.truenas.com/docs/scale/scaletutorials/apps/docke...

Re:An overview of single-purpose Linux distributions by dhc02 on Friday February 17, 2023 @07:34PM (#34842593)
I was going to suggest this, too. TrueNAS Scale is the quickest and most "it just works" version of bare metal --> docker containers with a web-based UI that I have experienced.
Re:An overview of single-purpose Linux distributions by brucethemoose2 on Friday February 17, 2023 @06:22PM (#34841960)
Clear Linux pitches itself as the perfect Docker host: https://clearlinux.org/downloads/containers

Its almost certainly the most performant distro in this huge thread (unless your host is ARM).

Re:An overview of single-purpose Linux distributions by senectus1 on Friday February 17, 2023 @09:30PM (#34843239)
lol given the plethora of diverse responses you got.. your fear was well founded.
Re:An overview of single-purpose Linux distributions by comfypotato on Saturday February 18, 2023 @05:28AM (#34845754)
The quick answer is no. But what is a friendly web UI other than a few 10s of hours work on top of the distros mentioned here? There are a few distros that are very close; they just substitute the web ui for the docker cli. I’ve enjoyed RancherOS, and I want to setup Alpine to run in RAM (it can do that) for some super-fast rPi nonsense.
Re:An overview of single-purpose Linux distributions by smashed on Saturday February 18, 2023 @12:31PM (#34848870)
I am working on something like it. It's a specialized, immutable Linux os that blends networking, nas and containers.

We found that even with a web GUI, containers are just too complicated for the typical user "that knows nothing about containers".

Even with a GUI, no matter how nice it is, you need to learn about env vars, port mappings, cni networks, bridging, volume mounts, images, tags, host isolation, etc etc..

Our solution is to wrap apps into pre-packaged recipes. Pretty big trade-off of course, but it makes the installation and management completely fool-proof afterwards.

You can see some screen shots in the documentation here:

https://sentinelc.com/docs/user-guides/administration/manage...