The previous version wasn't dash - Debian's default /bin/sh - compatible.
This script handles uid/gid ranges for creating unprivileged containers as root.