Running Software in a chroot

The chroot utility runs a process with the given directory set as the root / directory of its filesystem. There are many use cases for such a tool, e.g. to mess around in a Linux system without booting it, to run glibc software on a musl -based host, or to test examples in a fresh sandbox. This article will not dwell on security concerns: we’ll assume the software we run is not adversiarial. If…