Re:Docker Bug Allows Root Access to Host Filesystem
by baq on Wednesday May 29, 2019 @09:55AM
(#20040171)
i feel like this is oversimplifying, otherwise we'd be happily running tarballs in chroots. (jails anyone?)
[ Parent
| on HN ]
Re:Docker Bug Allows Root Access to Host Filesystem
by tty7 on Wednesday May 29, 2019 @10:09AM
(#20040348)
huh, what do you chroot to apt-get/dnf ?
Re:Docker Bug Allows Root Access to Host Filesystem
by tecleandor on Wednesday May 29, 2019 @10:24AM
(#20040519)
I think you can do that bootstrapping, for example, with debootstrap. (I'm talking by memory)
Re:Docker Bug Allows Root Access to Host Filesystem
by tonyarkles on Wednesday May 29, 2019 @10:39AM
(#20040725)
Absolutely correct. I've got a cross-compile toolchain set up right now that needs Debian (Ubuntu won't do because of different glibc versions in the cross-compile toolchains). I used debootstrap to make a basic Debian Stretch filesystem, chroot into that, and apt-get the remaining pieces and run the build. Works like a charm, no Docker required. And, unlike containers, it's intentionally persistent so future builds go very quickly.
Re:Docker Bug Allows Root Access to Host Filesystem
by tty7 on Wednesday May 29, 2019 @10:33AM
(#20040653)
i think you missed my point :)
Re:Docker Bug Allows Root Access to Host Filesystem
by tecleandor on Monday June 03, 2019 @08:06AM
(#20082273)
That's what it seems like :o :P