bubblewrap
bubblewrap copied to clipboard
Example in REAMDE does not work
Running the example in the README yields:
$ bwrap --ro-bind /usr /usr --symlink usr/lib64 /lib64 --proc /proc --dev /dev --unshare-pid bash
bwrap: execvp bash: No such file or directory
Here is a version that works:
bwrap --ro-bind /bin /bin --ro-bind /lib /lib --ro-bind /lib64 /lib64 --unshare-pid bash
Since I guess the proper arguments may slightly depend on the system (Debian testing in my case), some additional explanation would be welcome — also because the output in case of failure is not self explanatory...
Agreed. :+1: I think the simplest and most portable example I have seen comes from this ArchLinux wiki:
$ bwrap --dev-bind / / bash
Even if simplistic, having a working "hello world" example inspires confidence in new users. :baby: In my experience, I certainly remained skeptical about bwrap when the README example didn't Just Work. :thinking: It was only later, when I found the basic example shown above, that I gained confidence in bwrap.