3 ms·
> What does Docker give that you can't get with a normal VM There is a difference between Linux container (Docker underhood) and full blown Virtual Machine. In
by lossolo 7y ago
> What does Docker give that you can't get with a normal VM
There is a difference between Linux container (Docker underhood) and full blown Virtual Machine. In case of docker you are not running new operating system, you are just running new processes in different namespace but still using the same kernel. Linux containers are lightweight, you can start them as easy and fast as other processes, without overhead. VM (in most cases) is separate operating system running, which means startup time is different, you have overhead (CPU usage for keeping OS running and all its services, additional RAM usage, additional disk space usage etc) of whole operating system + virtualization overhead (in a lot of cases but can be minimzed).
- lkrubner 7y agoYes, I know, but what does that give me? When I'm setting up the infrastructure for my company, what can I do with Docker that I can't do more easily with a standard VM and Terraform? In terms of security, isolation, orchestration of services, managing concurrency, I get everything I need with ordinary VMs and Terraform. I don't see what Docker gives me.