Containers · Docker interview questions

66 Containers · Docker questions from the DevOps & SRE bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute IT readiness check — six questions and a result.

Take the free IT readiness check

or take a mock interview set up for this area

1. What is Image?

Junior
  1. A.ENTRYPOINT sets the fixed executable while CMD provides default arguments that can be overridden
  2. B.a service that stores and distributes Docker images such as Docker Hub
  3. C.Docker's modern build engine offering parallelism, build secrets, and cache mounts
  4. D.a read-only template containing the filesystem and metadata to run a container

Answer + AI explanation with Pro

2. Which term means: "a read-only template containing the filesystem and metadata to run a container"?

Junior
  1. A.Bind mount
  2. B.Volume
  3. C.Image
  4. D.Dockerfile

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.Image — a running, isolated instance of an image with its own process namespace
  2. B.Image — a cached, immutable filesystem change produced by each instruction in a Dockerfile
  3. C.Image — a read-only template containing the filesystem and metadata to run a container
  4. D.Image — a minimal base image containing only the app and runtime, no shell or package manager, reducing attack surface

Answer + AI explanation with Pro

4. What is Container?

Junior
  1. A.a minimal base image containing only the app and runtime, no shell or package manager, reducing attack surface
  2. B.a running, isolated instance of an image with its own process namespace
  3. C.a text file with instructions describing how to build a Docker image
  4. D.a cached, immutable filesystem change produced by each instruction in a Dockerfile

Answer + AI explanation with Pro

5. Which term means: "a running, isolated instance of an image with its own process namespace"?

Junior
  1. A.Multi-stage build
  2. B.Distroless image
  3. C.Container
  4. D.ENTRYPOINT vs CMD

Answer + AI explanation with Pro

6. Which statement is correct?

Junior
  1. A.Container — a running, isolated instance of an image with its own process namespace
  2. B.Container — a cached, immutable filesystem change produced by each instruction in a Dockerfile
  3. C.Container — a Dockerfile technique using multiple FROM stages to keep only build outputs in the final image
  4. D.Container — a service that stores and distributes Docker images such as Docker Hub

Answer + AI explanation with Pro

7. What is Dockerfile?

Junior
  1. A.a cached, immutable filesystem change produced by each instruction in a Dockerfile
  2. B.a text file with instructions describing how to build a Docker image
  3. C.a minimal base image containing only the app and runtime, no shell or package manager, reducing attack surface
  4. D.ENTRYPOINT sets the fixed executable while CMD provides default arguments that can be overridden

Answer + AI explanation with Pro

8. Which term means: "a text file with instructions describing how to build a Docker image"?

Junior
  1. A.Dockerfile
  2. B.Registry
  3. C.Multi-stage build
  4. D.Image

Answer + AI explanation with Pro

9. Which statement is correct?

Junior
  1. A.Dockerfile — a running, isolated instance of an image with its own process namespace
  2. B.Dockerfile — a text file with instructions describing how to build a Docker image
  3. C.Dockerfile — a minimal base image containing only the app and runtime, no shell or package manager, reducing attack surface
  4. D.Dockerfile — a read-only template containing the filesystem and metadata to run a container

Answer + AI explanation with Pro

10. What is Layer?

Junior
  1. A.a running, isolated instance of an image with its own process namespace
  2. B.Docker's modern build engine offering parallelism, build secrets, and cache mounts
  3. C.a read-only template containing the filesystem and metadata to run a container
  4. D.a cached, immutable filesystem change produced by each instruction in a Dockerfile

Answer + AI explanation with Pro

11. Which term means: "a cached, immutable filesystem change produced by each instruction in a Dockerfile"?

Junior
  1. A.Image
  2. B.Layer
  3. C.Registry
  4. D.BuildKit

Answer + AI explanation with Pro

12. Which statement is correct?

Junior
  1. A.Layer — reuse of unchanged layers from prior builds to speed up image creation
  2. B.Layer — a service that stores and distributes Docker images such as Docker Hub
  3. C.Layer — a cached, immutable filesystem change produced by each instruction in a Dockerfile
  4. D.Layer — a running, isolated instance of an image with its own process namespace

Answer + AI explanation with Pro

13. What is Registry?

Junior
  1. A.a text file with instructions describing how to build a Docker image
  2. B.a service that stores and distributes Docker images such as Docker Hub
  3. C.a Docker-managed persistent storage mechanism that outlives a container
  4. D.a Dockerfile technique using multiple FROM stages to keep only build outputs in the final image

Answer + AI explanation with Pro

14. Which term means: "a service that stores and distributes Docker images such as Docker Hub"?

Junior
  1. A.Volume
  2. B.Registry
  3. C.Bind mount
  4. D.BuildKit

Answer + AI explanation with Pro

15. Which statement is correct?

Junior
  1. A.Registry — a read-only template containing the filesystem and metadata to run a container
  2. B.Registry — Docker's modern build engine offering parallelism, build secrets, and cache mounts
  3. C.Registry — a service that stores and distributes Docker images such as Docker Hub
  4. D.Registry — a cached, immutable filesystem change produced by each instruction in a Dockerfile

Answer + AI explanation with Pro

16. What is Volume?

Junior
  1. A.a service that stores and distributes Docker images such as Docker Hub
  2. B.mounting a host directory into a container so changes are shared with the host
  3. C.a cached, immutable filesystem change produced by each instruction in a Dockerfile
  4. D.a Docker-managed persistent storage mechanism that outlives a container

Answer + AI explanation with Pro

17. Which term means: "a Docker-managed persistent storage mechanism that outlives a container"?

Junior
  1. A.ENTRYPOINT vs CMD
  2. B.Layer
  3. C.Dockerfile
  4. D.Volume

Answer + AI explanation with Pro

18. Which statement is correct?

Junior
  1. A.Volume — Docker's modern build engine offering parallelism, build secrets, and cache mounts
  2. B.Volume — a Docker-managed persistent storage mechanism that outlives a container
  3. C.Volume — a read-only template containing the filesystem and metadata to run a container
  4. D.Volume — mounting a host directory into a container so changes are shared with the host

Answer + AI explanation with Pro

19. What is Multi-stage build?

Mid
  1. A.a minimal base image containing only the app and runtime, no shell or package manager, reducing attack surface
  2. B.Docker's modern build engine offering parallelism, build secrets, and cache mounts
  3. C.reuse of unchanged layers from prior builds to speed up image creation
  4. D.a Dockerfile technique using multiple FROM stages to keep only build outputs in the final image

Answer + AI explanation with Pro

20. Which term means: "a Dockerfile technique using multiple FROM stages to keep only build outputs in the final image"?

Mid
  1. A.Multi-stage build
  2. B.Bind mount
  3. C.Registry
  4. D.Dockerfile

Answer + AI explanation with Pro

21. Which statement is correct?

Mid
  1. A.Multi-stage build — a Dockerfile technique using multiple FROM stages to keep only build outputs in the final image
  2. B.Multi-stage build — a Docker-managed persistent storage mechanism that outlives a container
  3. C.Multi-stage build — a minimal base image containing only the app and runtime, no shell or package manager, reducing attack surface
  4. D.Multi-stage build — a service that stores and distributes Docker images such as Docker Hub

Answer + AI explanation with Pro

22. What is Bind mount?

Mid
  1. A.reuse of unchanged layers from prior builds to speed up image creation
  2. B.mounting a host directory into a container so changes are shared with the host
  3. C.a Docker-managed persistent storage mechanism that outlives a container
  4. D.a Dockerfile technique using multiple FROM stages to keep only build outputs in the final image

Answer + AI explanation with Pro

23. Which term means: "mounting a host directory into a container so changes are shared with the host"?

Mid
  1. A.Build cache
  2. B.Distroless image
  3. C.Bind mount
  4. D.Registry

Answer + AI explanation with Pro

24. Which statement is correct?

Mid
  1. A.Bind mount — a running, isolated instance of an image with its own process namespace
  2. B.Bind mount — mounting a host directory into a container so changes are shared with the host
  3. C.Bind mount — reuse of unchanged layers from prior builds to speed up image creation
  4. D.Bind mount — a Dockerfile technique using multiple FROM stages to keep only build outputs in the final image

Answer + AI explanation with Pro

25. What is ENTRYPOINT vs CMD?

Mid
  1. A.a minimal base image containing only the app and runtime, no shell or package manager, reducing attack surface
  2. B.ENTRYPOINT sets the fixed executable while CMD provides default arguments that can be overridden
  3. C.mounting a host directory into a container so changes are shared with the host
  4. D.Docker's modern build engine offering parallelism, build secrets, and cache mounts

Answer + AI explanation with Pro

26. Which term means: "ENTRYPOINT sets the fixed executable while CMD provides default arguments that can be overridden"?

Mid
  1. A.Volume
  2. B.Layer
  3. C.Distroless image
  4. D.ENTRYPOINT vs CMD

Answer + AI explanation with Pro

27. Which statement is correct?

Mid
  1. A.ENTRYPOINT vs CMD — a cached, immutable filesystem change produced by each instruction in a Dockerfile
  2. B.ENTRYPOINT vs CMD — a read-only template containing the filesystem and metadata to run a container
  3. C.ENTRYPOINT vs CMD — ENTRYPOINT sets the fixed executable while CMD provides default arguments that can be overridden
  4. D.ENTRYPOINT vs CMD — a Dockerfile technique using multiple FROM stages to keep only build outputs in the final image

Answer + AI explanation with Pro

28. What is Build cache?

Mid
  1. A.a running, isolated instance of an image with its own process namespace
  2. B.a service that stores and distributes Docker images such as Docker Hub
  3. C.a read-only template containing the filesystem and metadata to run a container
  4. D.reuse of unchanged layers from prior builds to speed up image creation

Answer + AI explanation with Pro

29. Which term means: "reuse of unchanged layers from prior builds to speed up image creation"?

Mid
  1. A.Container
  2. B.Distroless image
  3. C.Build cache
  4. D.Volume

Answer + AI explanation with Pro

30. Which statement is correct?

Mid
  1. A.Build cache — Docker's modern build engine offering parallelism, build secrets, and cache mounts
  2. B.Build cache — a Docker-managed persistent storage mechanism that outlives a container
  3. C.Build cache — a service that stores and distributes Docker images such as Docker Hub
  4. D.Build cache — reuse of unchanged layers from prior builds to speed up image creation

Answer + AI explanation with Pro

Showing 30 of 66 Containers · Docker questions — the full set, with answers, explanations and an AI tutor on every question, is inside.

Free to start

Start with a free readiness check

Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Containers · Docker question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers