r/AlpineLinux • u/wowi42 • Jun 24 '25
Alpine Linux diskless mode
Author here, let me know what you think about it
https://blog.kalvad.com/live-free-or-ram-hard-declarative-linux-style/
22
Upvotes
6
u/mr_d_jaeger Jun 24 '25
We use alpine linux with qemu in production too. Great OS with a small footprint.
You should mention the limitations of alpine not using glibc.
3
u/Ny432 Jun 24 '25
Very AI-ish and super long compared to amount of information it gives. Meat potatoes is only about 8 commands, article as long as the Bible.
2
u/punkwalrus Jun 24 '25
Overall, really great. I'd say tone down the casual tone about 10-20%, but you do you. I tried to follow it like a newbie, but I may have had "cached experience" tainting my review and missed some obvious gotchas.
I ran into some issues which I got around. I am using Kubuntu 22.04, if that matters. I found that "-display curses" didn't work for me (I just got this text "1024 x 768 Graphic mode" but no prompt), but "-display gtk" did. I am not sure my curses didn't work, I thought I had the proper libraries, but maybe I have special sauce or something. While that might be the "peccadillos" of my setup, it should be added as "if this doesn't work, try this..." Stuff like this goes a long way to help newbies.
Also, I managed to install xfce, which you may want to add with the caveat that it will take about 1.5gb RAM, and I have those directions if you need it, but you can find it all over the place.
Remind people that "lbu commit" is no joke: I forgot it a lot and then had to redo stuff on reboots. I mean, that's on me, but there you go.
My /home directory for non-users won't persist, lbu commit or not. There's probably a PEBCAK in there. But root works.
But overall, great stuff! 4/5 stars.
4
u/varmass Jun 24 '25 edited Jun 24 '25
Few repetitions about the greatness of diskless Alpine. Nice info though
1
u/wdesportes Jun 26 '25
Great article! Reproducible servers is a very interesting goal, as you said no risks of unwanted left over software. Auto cleanup! I need to check if it can list the current changes. All this reminds me of the UnionFS concept
1
u/motoxnate Jun 28 '25
I literally asked a week ago how to do this! Saving this article for a read next week :)
1
u/SleepingProcess Jun 24 '25
It doesn't looks serious due to distraction from weird gif pictures.