OverlayFS of Root not including home directory and other mounted directories

I want to create an overlay of the root directory and chroot into it to sandbox things like from source installs or runs, as well as other purposes.

I use the command..

mount -t overlay overlay  -o lowerdir="/",upperdir="adirectory",workdir="anotherdirectory" chrootdir

What I get is an empty /home /dev /boot directory.

To me this seems the first purpose someone would use this feature for. The very first.

It seems it also warning against the next thing I would try that I do seem to remember is in fact a problem, where I’d simply create a different overlay for /home /dev etc., and bind mount it into the mergepoint. Which I am pretty sure failed.

Anyone else had any luck with this ?

Mounted directories inside lowerdirs not available in merged directory of overlayfs.