Hello Gregory,
> I got inspired by Juju from Archlinux and wanted the same thing for
> debian/ubuntu :)
I definitely like this kind of good news! :)
I'll add a link to your project in
http://proot.me/#ecosystem soon.
I took a look at the documentation and sources; here follow my
comments.
From start-container:
> if [ -z $@ ]; then
> HOME=/root PATH=${PATH}:/sbin:/usr/sbin:/usr/local/sbin ./proot -w /root -b /etc/hostname -b /etc/resolv.conf -b /etc/localtime -b /dev -b /sys -b /proc -r ${CONTAINER_PATH} -0 /bin/bash
> else
> HOME=/root PATH=${PATH}:/sbin:/usr/sbin:/usr/local/sbin ./proot -w /root -b /etc/hostname -b /etc/resolv.conf -b /etc/localtime -b /dev -b /sys -b /proc -r ${CONTAINER_PATH} -0 /bin/bash -c "$@"
> fi
* I think these 5 lines could be simplified down to 1 single line:
HOME=/root PATH=${PATH}:/sbin:/usr/sbin:/usr/local/sbin ./proot -w /root -b /etc/hostname -b /etc/resolv.conf -b /etc/localtime -b /dev -b /sys -b /proc -r ${CONTAINER_PATH} -0 $@
* Do you plan to add a mode where the id is not faked? (ie. without -0)
* Why don't you use the -S option instead of a specifying so much
bindings individually?
From: debprootstrap
> # TODO cdebootstrap still requires root because proot can't handle the unshare call ... to investigate
* I'll take a look at this next week.
Regards,
Cédric.