Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Docker Interview Questions and Answer Part – 3

  1. Whats is docker?
  2. Difference between container & VMs?
  3. Difference between Docker & Virtualization?
  4. Difference between container and image?
  5. How image builds?
  6. What are image layers?
  7. How image layers work?
  8. What is overlayfs?
  9. Where the image layes can be found in which directory?
  10. How can we check the content of each layer?
  11. How to check the layers stacked with image?
  12. What is Union Mount & AUFS?
  13. Why use Union mount system for Docker?
  14. What are the 3 different directories in /var/lib/docker/aufs?
  15. How to run an image?
  16. How to tag an image?
  17. How to Link one container with another?
  18. How do you sequence the containers? A first then B should execute after that?
  19. How to create a volume in docker container to store data?
  20. How to mount a local directory into a container?
  21. How to expose a port no to access container?
  22. What is entrypoint in docker?
  23. What is dockerfile?
  24. Difference between ADD & COPY parameters in dockerfile?
  25. How to create a bridge in container?
  26. How a container gets an internal IP?
  27. Can we check the process of a container inside as well as outside the container?
  28. Can we check the container process on docker host?
  29. How kernel isolates to run the container and how resources managed by the kernel?
  30. What is namespace and cgroups?
  31. What is docker-compose and docker-swarm?
  32. How you can give different network IP to the container?
  33. What are the parameters of dockerfile?
  34. Is there any windows container also available?
  35. How to stop a container?
  36. How to run a container in background?
  37. How to go inside a container if container is running in background?
  38. How to check running containers?
  39. How to remove an image?
  40. How to run an image which is in tar format?
  41. Command to check the process of a container?
  42. How to check resource utilisation of a container
  43. How to create an image?
  44. How to save changes of a container?
  45. What are registries?
  46. Difference between docker commands: up, run & start?
  47. Can we run more than one process in a container?
Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)