by 4ndrewl 4 hours ago

Back in the day we'd use chroot to achieve something similar

https://linux.die.net/man/1/chroot