Kevin Powell - CommunityKP-C
Kevin Powell - Community10mo ago
13 replies
Faker

Virtual Machine (VM) vs Docker

Hello guys, sorry to disturb you all... I just have a quick question about one of the tools used in DevOps. I was reading that Docker is one of the tool used. I've read a bit about it and from what I've understood, it's just a package/container that contains standardized units (runtime, dependencies, code, etc...) that can be run anywhere (when we say anywhere, this means on any OS and machine independent ?).

My question is, why do we need to use docker... I've never used it but I know it's extensively used. I know when we need to "deploy" an app, we would use docker, but why ? When we say "deploy" an app using docker, where is it deploy?

Last question, how is a docker different to a virtual machine and when is one better than the other? I read that VMs have specific resource allocated to them while they are running, while dockers share resources.
Was this page helpful?