Understanding Docker
Docker
Docker icon image tells us a ship with package loaded. why this type of icon? Similarly, Docker is used packing s/w or applications, ship them to end user, not only ship them but also provide platform to run those application in virtual environment. Docker achieve all these with the help of container and we can build containers with the help of images.
Docker works on client-server architecture.
Advantage
· Docker container run on top of host operating system that increases its performance.
· Docker are more secure as compare to VM.
Container
Main aim of container are to provide isolation also known as sandboxing to applications but this isolation is based on operating system-level so host OS in same for all containers.
Is Container are VM? No, containers are just processes and they are limited to resources that they can access and they stops when we exit from process.
Advantage
· Deployment is very easy and provides flexibility to the user.
· Container are very light weight that make them fast.
· Container consumes few resources so in particular space we can run more containers.