150+ Most Common Linux Commands With Examples
A rundown of the 150+ Linux commands you use most, from files and processes to networking, each with a copy-ready example.
Read article →Inside Alpine Linux: why this 5 MB distro is the top choice for Docker images, what makes it different, and whether it can be a daily driver.
In the container world, one name always comes up: Alpine Linux. Its official Docker image is only ~5 MB — far smaller than Debian (~120 MB) or Ubuntu (~80 MB) — yet it powers millions of containers. This article dissects Alpine down to its core, explains why it's the Docker king, and answers the big question: can it be used as a daily driver?
Alpine Linux is a lightweight Linux distribution born in 2010 from the LEAF project (Linux Embedded Appliance Framework), led by Natanael Copa. Its philosophy is three words: small, simple, secure.
Three foundations make Alpine unique:
Most Linux distros use glibc (GNU C Library). Alpine uses musl — a small, fast, POSIX-compliant libc implementation. The consequence: binaries compiled for glibc (e.g. from Debian/Ubuntu) don't run directly on Alpine, and vice versa.
Instead of hundreds of separate binaries (ls, cp, grep, sh, ...), Alpine uses BusyBox — one small binary containing hundreds of Unix utilities. Saves space, but some rarely-used command options aren't available.
Alpine doesn't use systemd. Services are run and managed with OpenRC — lighter and easier to understand:
rc-update add sshd default # enable sshd at boot
rc-service sshd start # start sshd now
Alpine's package manager, apk, is famously fast and transactional. Repos are indexed once, installs almost never need downtime:
apk update # refresh package index
apk add nginx # install a package
apk del nginx # remove a package
The main reason is simple: small size doubles into efficiency.
Almost all official Docker images provide Alpine variants: nginx:alpine, python:3-alpine, node:20-alpine, postgres:alpine, and so on.
FROM alpine:3.21
RUN apk add --no-cache python3 py3-pip
COPY app.py .
CMD ["python3", "app.py"]
Go, Rust, and Node compiled statically (CGO disabled) run flawlessly on Alpine — which is why modern container tooling (Docker CLI, Traefik, etc.) often uses Alpine.
Alpine isn't without a price. What to watch out for:
apk add gcompat, or use the -debian variant for runtime imagesbash built in (use BusyBox ash), and command options sometimes differTip: for complex applications, a common pattern: build on Debian/Ubuntu, run on Alpine — copy the build artifacts into a small Alpine image.
Technically Alpine can be a desktop — you just install Xorg and a desktop environment:
setup-xorg-base # install Xorg base
apk add xfce4 xfce4-terminal lightdm # example: XFCE + LightDM
rc-update add lightdm default # show login screen at boot
But the real question is is it worth it for daily use?
Good for:
Not great for:
Verdict: Alpine is outstanding for servers and containers; as a daily driver it's possible — but expect to handle things manually that usually happen automatically on big distros.
| Aspect | Alpine | Debian | Ubuntu |
|---|---|---|---|
| Base image size | ~5 MB | ~120 MB | ~80 MB |
| libc | musl | glibc | glibc |
| Init system | OpenRC | systemd | systemd |
| Package manager | apk | apt | apt |
| Idle RAM | ~28 MB | 100+ MB | 150+ MB |
| Official Docker variant | *-alpine |
*-slim |
*-slim |
| Desktop out of the box | No (manual) | Yes (GNOME) | Yes (GNOME) |
| Binary compatibility risk | Medium (musl) | Low | Low |
| Main target | Containers, light servers | Servers & desktops | Desktops & servers |
Pick Alpine when the priority is minimal size and security. Pick Debian/Ubuntu when the priority is compatibility and convenience — and remember that in the container world, both can coexist: build in one, run in the other.
A rundown of the 150+ Linux commands you use most, from files and processes to networking, each with a copy-ready example.
Read article →mdwn turns dozens of Linux commands into one tidy terminal menu. Here is what every menu does, plus an interactive browser demo you can try safely.
Read article →From a Finnish student’s hobby in 1991 to dominating servers and the cloud — follow Linux’s 35-year journey and the evolution of its distros.
Read article →