5 ms·
How good Docker is really to isolate the environment from the host machine? With a VM we have a complete isolation, while Docker (i.e. containers) share resourc
by BerislavLopac 11y ago
How good Docker is really to isolate the environment from the host machine? With a VM we have a complete isolation, while Docker (i.e. containers) share resources with the host machine; what about having different tools and especially different versions being installed on the two?
- InTheArena 11y agoDocker gives you this level of isolation. Basically the Kernel is shared in Docker, but not a whole heck of a lot more. Docker is very good at giving you what appears to be a completely isolated system. It isn't a VM though, and there are some isolation issues, but primarily as a target for security, not something that results in different versions or tools being a issue.
- BerislavLopac 11y agoSo what would be the advantage of using Docker for deployment, as opposed to simply fire up a whole server based on a Vagrant image?
- InTheArena 11y agoMuch better resource utilization, much better control of the deployment environment, much easier packaging/release constructs.