r/AlpineLinux • • 20d ago

A $20 retro game stick running Alpine Linux 3.23 as an always on node with Tailscale and a TV dashboard

Thumbnail gallery
15 Upvotes

The original post describes using the stock vendor kernel, a switch_root launcher, and a USB network bridge to run Alpine 3.23 on the device.


r/AlpineLinux • • Jun 10 '26

Alpine 3.24 is here - updated my Proxmox + Terraform + Ansible LEMP stack

15 Upvotes

With the release of Alpine 3.24 yesterday, I have updated my Proxmox IaC project to fully support it.

If you are looking for a way to deploy a hardened, production-ready LEMP stack (Nginx, MariaDB, PHP 8.3/8.4) as an LXC container (yes, a LXC container as its lightweight and a perfect replacement of a VM in a homelab) on Proxmox, I have built a fully reproducible setup using Terraform and Ansible. It handles the full lifecycle - from container creation to hardened configuration - in minutes.

Key features included in the stack:
- Hardened security: CrowdSec (agent + nftables bouncer), hardened SSH, and non-root sudo access.
- Automation: Automatic daily updates via apk-autoupdate and Restic backup scripts.
- Observability: Optional Monit integration for system monitoring.
- Validation: Includes verification scripts to test the stack from your control host after deployment.

It is designed to be completely modular and configuration-driven. You can check out the source here: https://github.com/ramonvanraaij/proxmox-iac

I would love to hear what you think of the setup or if you have any suggestions for further hardening on the Alpine side!


r/AlpineLinux • • Feb 06 '26

PostmarketOS Car.

Post image
15 Upvotes

This thing was made by some weird ahh Chinese car making company.


r/AlpineLinux • • Jan 01 '26

Astonishingly good Alpine is - well done

15 Upvotes

$ inxi -CBm
Battery:
 ID-1: BAT0 charge: 23.6 Wh (61.9%) condition: 38.1/48.1 Wh (79.4%)
   volts: 11.56 min: 11.89
Memory:
 System RAM: total: 8 GiB available: 7.66 GiB used: 4.68 GiB (61.1%)
 Array-1: capacity: 64 GiB note: check slots: 2 modules: 2 EC: None
 Device-1: Channel-0-DIMM-0 type: LPDDR3 size: 4 GiB speed: 1867 MT/s
 Device-2: Channel-1-DIMM-0 type: LPDDR3 size: 4 GiB speed: 1867 MT/s
CPU:
 Info: dual core model: Intel Core m3-8100Y bits: 64 type: MT MCP cache:
   L2: 512 KiB
 Speed (MHz): avg: 800 min/max: 400/3400 cores: 1: 800 2: 800 3: 800 4: 800

Asus Chromebook - installed Alpine @ 100% battery. Even though battery health is only 79%, after an install, (Plasma desktop too) and 3 hours of use - reported remaining battery time is 6+ hours.


r/AlpineLinux • • Aug 16 '25

Alpine vs. OpenBSD or FreeBSD as secure desktop/laptop daily driver

15 Upvotes

I'd like to measure the pros and cons of using either of these options, as a still fairly new Linux user and BSD not-yet-initiated who wants more security pretty much out of the box, doesn't want gaming, may stream video content with or without a VM... It would seem to be like OpenBSD might be what I want, except for underpar software support compared to FreeBSD. The fact that Alpine doesn't have systemd and is still Linux makes it attractive for me so I don't have to go full Gentoo or LFS. What else is to ponder?


r/AlpineLinux • • Jul 17 '25

Running Alpine Linux inside Node.js

Thumbnail endor.dev
15 Upvotes

We just released v0.2 of our tool for creating dev sandboxes that run Alpine Linux inside the Node runtime. With a simple command like

'npx -y u/endorhq/cli@latest run alpine --shell --allow-net'

you can have a fully functional 32bit Alpine Linux instance with networking, within 4-5s. It is ephemeral and sandboxed, so as soon as you press Ctrl-C, everything is gone. Great for quickly testing stuff. It is based on the Wasm engine inside Node, so it runs way slower than native, but usable


r/AlpineLinux • • May 16 '23

Why I built a new build system around Alpine Linux

Thumbnail
zacksiri.dev
15 Upvotes

r/AlpineLinux • • Mar 29 '21

[EXPLANATION] Alpine Linux is built around musl libc and busybox.

15 Upvotes

Out of curiosity. What makes Alpine special? What the pros with musl and busybox? I'm not a programmer neither a developer. Is musl an alternative to GCC? I red something here: https://musl.libc.org/about.html, but I stll cannot grasp the concepts and the reasons about using musl. 😅😁

Thanks to everyone who take some time explaining me! 😉


r/AlpineLinux • • Jan 19 '21

I have Alpine running in the userland of mt android!!

Post image
15 Upvotes

r/AlpineLinux • • Oct 06 '26

Alpine as a gaming distro

14 Upvotes

I moved all my x86_64 sh*tboxes over to Alpine a while back and wondered if it would be possible to use this little lovely distro for gaming (I know). However, since it’s based on the Linux kernel, it’s not impossible and I have to admit I’m quite surprised by how easily it went.

You need to switch kernel to linux-stable (idk if LTS includes ntsync) and then modprobe ntsync.

The rest is straightforward: just install wine-staging and dxvk.

Finally, you need to prepare launcher script - something like this:

#!/bin/sh

# Wine prefix path

export WINEPREFIX="$HOME/.wine"

# Use ntsync instead of esync and fsync

export WINEESYNC=0

export WINEFSYNC=0

# Framelimiter (optional)

export DXVK_MAX_FRAMERATE=60

# Game path

GAME_PATH="$HOME/Games/GTASA/gta_sa.exe"

# Per game additional settings

export WINEDLLOVERRIDES="winemenubuilder.d=n;dinput8=n,b"

# Launch game (low res cuz I have uhd620)

wine "$GAME_PATH" -width=1280 -height=720 -fullscreen

Then just chmod +x game.sh, drop game.sh into the game directory, and boom – you've got an Alpine as a gaming distro XD

Edit: And create DXVK symlinks! ln -sf /usr/share/dxvk/x64/.dll "$HOME/.wine/drive_c/windows/system32/" && ln -sf /usr/share/dxvk/x32/.dll "$HOME/.wine/drive_c/windows/syswow64/"


r/AlpineLinux • • Mar 10 '26

Just installed alpine

14 Upvotes

So I have just installed alpine and set up KDE plasma desktop. I'm new to alpine and Linux in general I already had a little experience with arch but this is it and my question is, are there some things I must or should do on a fresh alpine install?


r/AlpineLinux • • Feb 25 '26

Alpine Linux + Fluxbox + tint2 + rofi

14 Upvotes

Alpine Linux + Fluxbox + tint2 + rofi is very low demanding. Next choice is IceWM on Alpine Linux, you can use an excellent rofi too.

We have Alpine Linux + KDE + Wayland, as a reference comparison.


r/AlpineLinux • • Dec 26 '25

Is Alpine Linux good for gaming?

14 Upvotes

Basically what the title says, let me know how well does this distribution handles graphics for gaming, what is the difficulty level or learning curve for troubleshooting gaming related issues, installing games or gaming platforms or just installing Nvidia drives.

Currently using Win10 on my setup, but since it reached it EOL in Oct i want to install this distro since my PC is not that good.


r/AlpineLinux • • Jul 12 '25

Thinking of organising a Wiki Drive

14 Upvotes

Hello everyone! I’ve been a long time user of alpine linux, but as many of you might know, the wiki is a bit… lacking. This not only affects the quality of documentation, but also the ability of newcomers to use alpine, for desktop or other uses.

I was wondering if anyone would be interested in having a Wiki Drive and this is how I was thinking it may go: One day of the week (maybe Thursday), we brainstorm a list of suggested topics or pages we should work on during the day, and then on the day of the drive we just invite everyone to edit atleast one aspect of any suggested page or topic.

At the end of the drive, we could come up with a list of all who contributed to the Wiki and maybe come up with a leaderboard if necessary.

I don’t know if this could work or not so if you have any ideas I’m really happy to hear them.


r/AlpineLinux • • Aug 26 '24

Saved 7gb storage on server

14 Upvotes

I switched from Ubuntu server to alpine server

I had 50 gb usable storage without os installed With Ubuntu 42gb With alpine 47.5

Installed app : qbittorrent-nox + python + ffmep + python-requests

Ubuntu was taking 7.5 with Installed app

Alpine is taking 900mb with installed app

Some might think 5gb is less storage but on server with 50 gb storage it's 10% It was easy to switch with little to no issue so i am happy with switch


r/AlpineLinux • • Mar 17 '23

Alpine on a pentium system with 24 MB of RAM (custom kernel, no initrd)

Thumbnail
youtu.be
14 Upvotes

r/AlpineLinux • • May 10 '22

How to make Alpine boot instantly?

14 Upvotes

When I turn on my computer, it says "Alpine will boot in 3 seconds". I want to skip the 3 second thing and directly boot into the OS. What should I do?


r/AlpineLinux • • Oct 13 '21

Loving Alpine

Post image
14 Upvotes

r/AlpineLinux • • Oct 26 '19

OpenRC vs Runit?

14 Upvotes

Is there a particular reason Alpine uses OpenRC over Runit? I find it strange considering Runit is often considered to be smaller and lighter which better matches Alpine.


r/AlpineLinux • • Oct 20 '26

JUST PUBLISHED THE DOTFILES!1!1!1

Thumbnail gallery
13 Upvotes

r/AlpineLinux • • Sep 21 '26 Heartwarming

Packed apline into 5.5 mb uefi executable

Post image
13 Upvotes

Custom init, custom kernel, internet works


r/AlpineLinux • • Aug 23 '26

can’t login post-installation?

Post image
13 Upvotes

This is the second time I’m installing alpine. The first time I got to this screen and assumed I forgot my password but now I’m not sure what’s going on. I am sure of what my password is.

resolved


r/AlpineLinux • • Jun 15 '26

Browser sandboxing: flatpak vs bubblewrap vs VM + X11 Forwarding vs VM + vsock waypipe vs VM + spice / qxl

13 Upvotes

Hi,

I have been playing with the various ways we can sandbox web browsers.

Those are the options I see

- Flatpak

- Raw Bubblewrap

- Podman

- VM + X11 Forwarding

- VM + vsock + waypipe

- VM + spice / QXL

I currently use chromium under Flatpak but have also played with with raw bubblewrap which get quite complex quickly and can be a hit or miss.

Also I see that Flatpak is getting more and more dependent on systemd so it might not be a long term solution for us Alpine users?

I haven't looked into what are the trade-offs doing it with podman.

I am now looking into running a full VM dedicated to the web browser. In terms of perfs it might be viable since Alpine is so lightweight (even on the Intel N100 I am currently using). The approach would be similar to QubeOS I guess.

VM + X11 Forwarding via SSH works but the perf are a bit disappointing. I haven't tried going into optimizing it since Xorg might be less and less supported at the driver level, etc.

VM + vsock + waypipe is interesting.

From what I understand virtual sockets would offer the best performance to connect to the VM by enabling Virtio VSOCK for the VM and then running `socat VSOCK-LISTEN:1234,reuseaddr,fork TCP:localhost:1234` in the guest (since Alpine do not have the systemd socket activation thing builtin).

The communication works.

I am now trying to make waypipe works with vsock (https://gitlab.freedesktop.org/mstoeckl/waypipe/-/blob/v0.11.0/waypipe.scd?ref_type=tags#L260) but no success so far since I guess I need to run a headless compositor first.

I am wondering what the performance will be and maybe I won't be able to fully leverage the capabilities of graphical acceleration (OpenGL, vulkan, decoding, etc.) in the browser. I do not fully understand how wayland/waypipe works.

I also thought that exposing the memory of the vm directly in the host might be possible and have waypipe use it directly might be in theory possible but haven't dig deeper.

VM + spice/qxl

Also leveraging spice and running chromium in a kiosk compositor like cage might actually offer the best performance ? I haven't tried yet.

My questions are:

What are your thoughts on this?

If you tried the VM approach, what offered the best performance at the end?

Thanks !


r/AlpineLinux • • May 21 '26

Yo guys, how do I fix this race condition?

Post image
13 Upvotes

I don't know what happened exactly, is it related to my recent grub death? If I mount it manually, it works! Also, mkinitfs don't let me replace /init. Is there any hook or cmdline option to resolve this rc?