pivot root

A Linux system call that swaps a process to a new root directory so it can no longer see the old one.

In more detail

Container runtimes such as runc use pivot_root inside a new mount namespace to make the prepared image filesystem become /. It is stronger than the older chroot because the old root can then be unmounted completely.

Related terms

Taught in

References