Posts

Showing posts with the label Docker Interview

Docker Interview Questions

Image
  Subscribe YouTube Channel @devops-pathshal a   1. What is Docker ? Ans:- Docker is a platform that allows you to package an application and all its dependencies into lightweight portable containers. 2. What are Containers ? Ans:- Containers are lightweight, isolated environment that package an application along with all dependencies so it run consistently on any system. 3. What is the difference between a container and a Virtual Machine ? Ans:- Containers are lightweight because they share the host operating system, while virtual machine are heavy because they run their own full operating system. Containers start very quickly, use fewer resources and are ideal for microservices. Virtual machines provide stronger isolation but require more RAM and CPU since each VM containers a full OS. So overall, containers are fast and efficient, whereas VMs are heavier but more isolated. 4. What are docker engine ? Ans:- Docker Engine is the core component of  Docker that runs and ma...