must(syscall.Chroot("/rootfs")) gives not such file or directory
ishankhare07 opened this issue · comments
I'm getting the above error although i can verify that rootfs
exists in the provided path
# ls /rootfs/
bin dev etc home lib media mnt opt proc root run sbin srv sys tmp usr var
Also I'd like to mention that I'm using alpine's Mini root filesystem
for rootfs
My bad, I was using a linux container to run my code on mac and there was a mismatch with my mount paths.