Reputation: 8792
With Docker you can build, run, test and distribute applications that are based on Linux Containers. According to my understanding, Docker containers are lighter than virtual machines, and are designed as a substitute to them.
Amazon (and I am sure that other cloud providers too) uses Docker images in task definitions to launch containers on EC2 instances in my clusters. My questions are the following:
Upvotes: 1
Views: 99
Reputation: 2659
1 - Yes!
2 - As a Linux Container engine rather than traditional virtualization methods....the Docker uses the same host server kernel, making everything very fast.
A container is an isolated and mobile process through namespaces + chroot. So do the "start" of a container is very fast (it's as fast as start a new process).
So, using containers ... you can get the requirements for a much easier process and no chances to get conflict with any requirement of another process.
I hope this helps.
Upvotes: 2