Everything you need to know about declarative containers in NixOS with a simple example to demonstrate logging in, mounting volumes and forwarding ports.

It’s a really elegant way to isolate different services running on a single server. Very well written!