3 ms·
Re Docker, chroot, etc: the boundary around a VM is both easier to understand and more hermetic than around a container. The learner already has a pretty good
by andrewflnr 3y ago
Re Docker, chroot, etc: the boundary around a VM is both easier to understand and more hermetic than around a container.
The learner already has a pretty good idea of where a computer stops. They can pretty much transfer that knowledge to a VM and not have any problems for a long time. Whereas with Docker, what's a filesystem? What's a process namespace?
And, well, I wouldn't do anything in a container that I couldn't afford to leak out into my host system. In a chroot especially, the files are just sitting there, waiting for a newbie to touch them from the wrong context.
- hiAndrewQuinn 3y agoExactly! The key thing to realize here is that tutorials have to be aimed at newbies. If they know containers, great. If they don't, and later want to learn, writing and running a Dockerfile based on instructions for the cool thing they successfully ran once saying "Here's our VM, here are the commands we run, and here's the program running in action" is a great little practice problem.