4 ms·
I wanted to write the same; docker is a packaging solution. It's not a security layer.
by pmlnr 7y ago
I wanted to write the same; docker is a packaging solution. It's not a security layer.
- baq 7y agoi feel like this is oversimplifying, otherwise we'd be happily running tarballs in chroots. (jails anyone?)
- tty7 7y agohuh, what do you chroot to apt-get/dnf ?
- tecleandor 7y agoI think you can do that bootstrapping, for example, with debootstrap. (I'm talking by memory)
- tty7 7y agoi think you missed my point :)
- tecleandor 7y agoThat's what it seems like :o :P
- tonyarkles 7y agoAbsolutely 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.