Field notes.
Networking, development, archery, and whatever the road throws up. Written from the field.
-

Dockerfiles: Building Your Own Image
A Dockerfile is a build script, not a snapshot. Instructions, layer caching, .dockerignore, why secrets never leave a layer, multi-stage builds, tags versus digests, and dropping root.
-

Docker: It’s Not a Tiny VM
The page you are reading right now is being served out of a container. So is the database behind it, and a dozen other things on the same host, all…
-

Firewalls on Linux: One Filter, Four Front Doors
The last post got the machine talking. This one decides what it is allowed to say, and to whom — because a server with a public address does not sit…
-

Networking on Linux: Where the Theory Meets the Terminal
Seven posts of the networking series went into what an IP address is — how it gets wrapped in envelopes, how it finds its way across a switch, how you…
-

systemd: Teaching Linux to Keep Things Running
At the end of the package management post I said we finally had a machine we could navigate, control and keep stocked with software — but that we had not…
-

Subnets, With the Maths
A while back I wrote Subnets Without the Scary Maths, and I stand by every word: for a great many days you really can get by on “slash twenty-four means…
-

NAT: How Ten Thousand Devices Share One Address
Here is a small mystery hiding in plain sight on your desk. You have a laptop, a phone, a TV, a couple of smart plugs and a games console —…
-

Package Management: Linux Had an App Store First
At the end of the permissions post I promised we would stop poking at software that is already on the machine and start adding our own. Here is where the…
-

Permissions: Who’s Allowed to Touch It
In the filesystem post I flagged a second half to the story: knowing where files live is one thing, but knowing who’s allowed to touch them is most of Linux…
-

Everything’s a File: The Linux Filesystem
You can move around now — the last post gave you pwd, ls and cd. But where are you moving around? Coming from Windows, the first surprise is what’s missing:…