lucabrunox / nix-user-chroot

Run nix in a lightweight chroot container
78 stars 17 forks source link

Can't run nix-user-chroot within nix-user-chroot #7

Open matthewbauer opened 7 years ago

matthewbauer commented 7 years ago

I think this is a limitation set by the Linux kernel, but I wonder if there is a way around it.

Basically:

$ ./nix-user-chroot ./nix sh
$$ ./nix-user-chroot ./nix sh
unshare(): Operation not permitted
Mic92 commented 5 years ago

This is fixed in https://github.com/nix-community/nix-user-chroot