How is Docker.io different from a normal virtual machine?
stackoverflow.com
How is Docker.io different from a normal virtual machine?
1–10 of 111 posts
Re: How is Docker.io different from a normal virtual machine?
#2The basic idea behind Docker is that you don't have to create another operating system in order to just separate your processes from each other. This leads to containers being much more lightweight than virtual machines but also significantly less powerful (i.e. powerful as in ability to do something, not in terms of performance) in some areas.
Re: How is Docker.io different from a normal virtual machine?
#3I recently wrote an article that covers some of this ground: http://www.sitepoint.com/docker-for-rubyists/ The basic idea behind Docker is that you don't have to create another operating system in order to just separate your processes from each other. This leads to containers being much more lightweight than virtual machines but also significantly less powerful (i.e. powerful as in ability to do something, not in ter…
"(i.e. powerful as in ability to do something, not in terms of performance)"
Do you mean smaller units of functionality which perform at good levels? For example, I wouldn't want to deploy a large, monolithic service this way?
Re: How is Docker.io different from a normal virtual machine?
#4Re: How is Docker.io different from a normal virtual machine?
#5I've been having trouble figuring out the value-add of using Docker over Ubuntu's built-in LXC functionality [1]. [1] https://help.ubuntu.com/12.04/serverguide/lxc.html
Re: How is Docker.io different from a normal virtual machine?
#6I've been having trouble figuring out the value-add of using Docker over Ubuntu's built-in LXC functionality [1]. [1] https://help.ubuntu.com/12.04/serverguide/lxc.html
Re: How is Docker.io different from a normal virtual machine?
#7Conceptually, they are similar to Linux's chroots or FreeBSD's jails, which offer process isolation. Basically, they work with a lightweight virtual machine instead of a single process. Containers have lower overhead - they are virtualizing on the operating system level. Other virtualization technologies like Xen and KVM work on the CPU level, and provide a fully virtualized hardware setup to the virtual machine[s].