Docker Interview Questions 2026

Published July 22, 2026 · Updated July 22, 2026

9 Docker interview questions from Accenture, Deloitte, LTIMindtree. All difficulty levels, all roles. Upvoted by engineers who were asked them.

9 questions
Companies: Accenture, Deloitte, LTIMindtree
575 upvotes

Docker Questions by Company

Accenture (1)

Accenture Medium Technical round JenkinsGitHub ActionsDocker

Have you worked with CI/CD pipelines, and how were they used in your project? Describe the tools used (Jenkins, GitHub Actions, GitLab CI), the stages in your pipeline, how tests were triggered, and how deployments were automated.

↑ 41 upvotes · 15 engineers asked this · Developer

Deloitte (7)

Deloitte Medium Technical round JenkinsGitHub ActionsDocker

Describe the complete CI/CD pipeline you have implemented in your projects. Walk through every stage from code commit to production deployment, including linting, unit tests, build, artifact storage, staging deploy, integration tests, and release gates.

↑ 94 upvotes · 38 engineers asked this · DevOps
Deloitte Medium Technical round Docker

What is the difference between ENTRYPOINT and CMD in Docker? Explain with examples how they interact when both are specified, and how CMD can be overridden at runtime while ENTRYPOINT cannot easily be replaced.

↑ 83 upvotes · 34 engineers asked this · DevOps
Deloitte Medium Technical round JenkinsDocker

What stages do you generally include in a Jenkins pipeline to ensure code quality? Walk through each stage: checkout, static analysis (SonarQube/ESLint), unit tests with coverage thresholds, security scanning, build, and artifact publishing.

↑ 74 upvotes · 29 engineers asked this · DevOps
Deloitte Medium Technical round JenkinsDockerKubernetes

If a critical issue is found in production, what steps would you take to resolve it quickly? Walk through: immediate triage, deciding between hotfix vs rollback, creating a hotfix branch, fast-track CI pipeline, communication protocol, and post-mortem.

↑ 91 upvotes · 38 engineers asked this · DevOps
Deloitte Medium Technical round JenkinsDockerKubernetes

Explain your deployment workflow starting from code commit until production release. Cover feature branch → PR → CI → merge → staging deploy → smoke tests → canary/blue-green production deploy → monitoring and rollback plan.

↑ 39 upvotes · 41 engineers asked this · DevOps
Deloitte Medium Technical round Docker

What are the key steps involved in building a Docker image? Explain each Dockerfile instruction (FROM, RUN, COPY, WORKDIR, EXPOSE, CMD), multi-stage builds for smaller images, layer caching best practices, and how to scan images for vulnerabilities.

↑ 76 upvotes · 30 engineers asked this · DevOps
Deloitte Medium Technical round Docker

How do you pass environment variables during Docker build and runtime? Compare ARG (build-time) vs ENV (runtime), how to use --build-arg and --env-file, the security implications of baking secrets into layers, and safer alternatives like Docker secrets.

↑ 61 upvotes · 23 engineers asked this · DevOps

LTIMindtree (1)

LTIMindtree Medium Technical round 5–8 YearsInterview ExperienceGCPKubernetesDocker

GKE vs Cloud Run — when would you choose each?

↑ 16 upvotes · 3 engineers asked this · Senior SDE

Practice these questions with AI feedback

Get instant grading on your answers, identify your weak areas, and generate a personalised 14-day study plan — all free.

Build my study plan →

Docker questions at each company

Deloitte Docker

Frequently asked questions

Have you worked with CI/CD pipelines, and how were they used in your project?
Have you worked with CI/CD pipelines, and how were they used in your project? Describe the tools used (Jenkins, GitHub Actions, GitLab CI), the stages in your pipeline, how tests were triggered, and how deployments were automated.
Describe the complete CI/CD pipeline you have implemented in your projects. Walk through every stage from code commit to production deployment, including linting, unit tests, build, artifact storage, staging deploy, integration tests, and release gates.
Describe the complete CI/CD pipeline you have implemented in your projects. Walk through every stage from code commit to production deployment, including linting, unit tests, build, artifact storage, staging deploy, integration tests, and release gates.
What is the difference between ENTRYPOINT and CMD in Docker? Explain with examples how they interact when both are specified, and how CMD can be overridden at runtime while ENTRYPOINT cannot easily be replaced.
What is the difference between ENTRYPOINT and CMD in Docker? Explain with examples how they interact when both are specified, and how CMD can be overridden at runtime while ENTRYPOINT cannot easily be replaced.
What stages do you generally include in a Jenkins pipeline to ensure code quality? Walk through each stage: checkout, static analysis (SonarQube/ESLint), unit tests with coverage thresholds, security scanning, build, and artifact publishing.
What stages do you generally include in a Jenkins pipeline to ensure code quality? Walk through each stage: checkout, static analysis (SonarQube/ESLint), unit tests with coverage thresholds, security scanning, build, and artifact publishing.
If a critical issue is found in production, what steps would you take to resolve it quickly? Walk through: immediate triage, deciding between hotfix vs rollback, creating a hotfix branch, fast-track CI pipeline, communication protocol, and post-mortem.
If a critical issue is found in production, what steps would you take to resolve it quickly? Walk through: immediate triage, deciding between hotfix vs rollback, creating a hotfix branch, fast-track CI pipeline, communication protocol, and post-mortem.