logoalt Hacker News

Show HN: I've built a nice home server OS

65 pointsby Zta77yesterday at 9:42 PM29 commentsview on HN

ohai!

I've released Lightwhale 3, which is possibly the easiest way to self-host Docker containers.

It's a free, immutable Linux system purpose-built to live-boot straight into a working Docker Engine, thereby shortcutting the need for installation, configuration, and maintenance. Its simple design makes it easy to learn, and its low memory footprint should make it especially attractive during these times of RAMageddon.

If this has piqued your interest, do check it out, along with its easy-to-follow Getting Started guide.

In any event, have a nice day! =)


Comments

happyopossumyesterday at 10:34 PM

As long as there is software, you cannot shortcut the need for maintenance. Nothing is bug free, and telling people they will never need to upgrade/patch/maintain a system is a well-paved path to compromised systems.

show 3 replies
e12etoday at 12:27 AM

Interesting - but how do I patch, upgrade and build my own iso?

The source repository isn't very enlightening?

> The actual repository here hosts the source code for Lightwhale, and is not of any interest for most people.

> https://bitbucket.org/asklandd/lightwhale/src/master/

visualphoenixtoday at 2:05 AM

Very cool! I’ve been building something similar with a k8 focus for home serving as well! Excited to check it out.

andaiyesterday at 11:55 PM

This is relevant to what I have been learning about recently!

I'm getting ready to launch an online game and I'm dealing with "how do I just run my game server on dozens of boxes without dealing with linux stuff".

I don't really have an answer yet (leaning into "just get one really powerful box" lol), but my investigation into the problem so far has been pretty interesting.

You can conceptualize the "my program + the OS" as a single program. It's not a pretty picture. Lots of global mutable state. (Also it randomly modifies itself??)

The whole point of Docker appears to be "I just want to run my program", in the least painful way possible. Immutable Linux extends the "lean in the direction of sanity" idea. (The programming and OS worlds seem to be learning the same lessons, from different angles.)

And then there's "it turns out the OS solves problems I don't have, while creating many new problems", which leads to Unikernels. Fun stuff ;)

In a perfect world, I wouldn't need the OS at all. Docker gives me two Linuxes to worry about! The number of operating systems I want to worry about is zero!

Which brings us to Unikernels! Just ditch the OS! Technically the right answer, except... now I'm a kernel developer? Maybe that's the least bad option, long term.

gausswhotoday at 12:07 AM

What's the recommended way to regularly backup the data used by containers running on Lightwhale?

vizziertoday at 1:57 AM

This feels not unlike talos linux, but for single instances over k8s containers. Pretty neat.

YorickPetersetoday at 1:58 AM

So how is this different from Fedora CoreOS or bootc/RHEL image mode?

darknaviyesterday at 10:56 PM

I'm a novice in this space I think. I've self-hosted for over a decade and around 2019 I moved over to Unraid, which is generally pretty visual (web portal or configuring and doing maintenance). I find the web portal very easy. How does one interact with your home server OS? I assume it's all via terminal because there are no pictures on the website?

nikolayyesterday at 11:03 PM

This is a Linux distro, not an OS!

show 1 reply
hrimfaxitoday at 12:25 AM

I noticed the code for the upgrade does not appear to be available. https://bitbucket.org/asklandd/lightwhale/src/master/

9devyesterday at 10:16 PM

I like the idea of something like this for swarm mode clusters; not sure if you’re focused on the home server aspect exclusively, but I’ll be following along.

Kudos to the great project!

show 1 reply
wrxdtoday at 12:39 AM

Is the installation only imperative via the docker cli tool or do you support something more declarative like Docker compose?

dandanoyesterday at 10:22 PM

So I’ve just set up my home server with Ubuntu server, installed docker with one line and I’m off to the races. What’s different/ exactly the value prop of this? You mention maintenance, of what exactly? Is your server a slimmed down version to run on less powerful hardware? Genuinely curious as I’m new to setting up a home server so seeing how this would benefit me.

show 1 reply
Arch-TKtoday at 1:49 AM

The best way I have found to make something low/no maintenance is to keep it as simple as humanly possible.

And I don't think you can get there via this route. But good luck anyway, I would love to be proven wrong.

coreyburnsdevyesterday at 11:33 PM

can't imagine a world in which I'd download a little known distro to put on my home network and use as a server. also, doesn't fedora already have something like this already?

show 1 reply
ricktdotorgtoday at 12:03 AM

if this is Cloud Run for my home lab, i am SO in.

first read looks good, excited to try.

logic-designeryesterday at 11:03 PM

did you say anywhere what package manager it uses (couldnt find that info on the website)

show 2 replies
walrus01today at 12:45 AM

If I had a firm requirement to have only one physical piece of hardware home server on bare metal to run further containerized things on, it would be running proxmox, because that grants the ability to run further QEMU, KVM virtualized things, and then to install docker containers inside of any KVM VMs. Even to use QEMU to fully emulate other CPU architectures if necessary.

Or if not proxmox, without a http GUI, just a boring debian stable x86-64 system to manually install QEMU and virt-tools, virsh toolset on to run QEMU/KVM things on with purely CLI management.

This is an interesting general concept but being limited to only running docker containers is a huge constraint.

tamimiotoday at 12:36 AM

I believe for anything home server (or even production), proxmox got you covered, it’s mature, stable, has strong community, and at the end of the day it’s still debian so you can mod it however you like. You can have containers, vms, firewalls, hdd zfs pools, backups, and more. And you can even use something like community scripts for easier installation, although always read the script before you install anything. I have also been playing with BastilleBSD too but I don’t think it’s there yet.

EverMemorytoday at 2:20 AM

[dead]