Hi all!

I’ve been using RancherOS for years as the minimal OS to host all of my containers and it’s been working great. Until today.

I updated Redis to its latest version, and got some errors. After some investigation I found that in needs Docker 20 or higher to run. RancherOS has been abandoned, and the latest version you can install is 19.

Do you fine folks know something similar to RancherOS? Thanks!

18 points

I use debian as my OS for docker host, then install docker from them as you get the most up to date version

permalink
report
reply
5 points

This is my plan B in case I can’t find a lightweight distro to replace RancherOS. Thanks!

permalink
report
parent
reply
7 points

Would Alpine be an option?

permalink
report
parent
reply
2 points

I’d suggest Alpine too. Works great for me so far.

permalink
report
parent
reply
2 points

I tried this recently and it works pretty well! I haven’t migrate my RancherOS deployment yet though. Need tiny bit more testing.

permalink
report
parent
reply
2 points

That’s what I’m using right now. I am kind of curious if you are aware of any apk using tiny operating systems like alpine but that also have systemd? I want to experiement with quadlets/podman but don’t really want to lose how simple alpine is to administer and how fast it boots.

permalink
report
parent
reply
10 points

https://www.talos.dev/

It runs entirely in RAM, administration is super simple, no ssh, easy to update/and upgrade, immutable, minimal distro designed specifically for secure container usage.

permalink
report
reply
4 points

This looks super interesting. Thanks! One question though; can I still use it if I don’t want to use Kubernetes? I just want to deploy a few containers here and there. I was thinking about moving everything to Kubernetes, but it seems a bit overkill for the 10 containers I have running.

permalink
report
parent
reply
2 points

I that case, check out Fedora CoreOS.

permalink
report
parent
reply
4 points

If you want a gui to manage your containers, I use portainer (with debian as OS).

permalink
report
reply
1 point

I use it too! I really like it :)

permalink
report
parent
reply
7 points

I’ve been playing around with MicroOS, which is based off of OpenSUSE and is supposed to be the successor to RancherOS

permalink
report
reply
6 points
*

https://www.flatcar.org/

It is a fork of CoreOS, from when they got bought by RedHat and it was abandoned (or rather morphed into being fedora based).

It is has been fairly stable for me over the past two+ years, with one systemd-resolver snarfu. The auto update being baked in from the get go is nice.

Only thing to be aware of is that Kinvolk who are the maintainers have been bought by Microsoft, though so far it has not affected anything. Also if you don’t like systemd then it is not for you, as that is more or less all the distribution is.

They are running docker 20.10.23 on the stable branch atm. https://www.flatcar.org/releases

permalink
report
reply
1 point

Looks good! I’ll give it a try. Thanks!

permalink
report
parent
reply
2 points

Hello again! I am trying Flatcar, and I really like the concept. I had not used immutable distros before. I have a question: How can I apply changes to the configuration? I have a YAML file with the butane config and transpile it to a JSON file with the ignition configuration. How do I apply that new configuration? Do I have to delete the VM and start over again, or is there a way to update it inside the VM? I looked around in the official docs, but did not find anything :(

permalink
report
parent
reply
2 points
*

I am not using it with immutable config, so the only thing flatcar is doing is it has an A and a B partition for /usr that it switches between on updates (such that it can always rollback to the last working system).

I only used ignition for the initial setup, after that I just ssh in to the machine and change systemd services via /etc/systemd/system (such as added new mounts, using systemd unit’s for running docker containers etc.)

Adding a user is initially done: https://www.flatcar.org/docs/latest/setup/customization/adding-users/

The idea is that all software you need to run except for systemd and some utilities (more or less what is in busybox) are run in containers, which i think was the same deal with RancerOS.

permalink
report
parent
reply
1 point

Gotcha. Thanks!

permalink
report
parent
reply

Selfhosted

!selfhosted@lemmy.world

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 5K

    Monthly active users

  • 3.6K

    Posts

  • 81K

    Comments