intermediateDockerfile & Images

What is the difference between CMD and ENTRYPOINT? How do they interact?

Tests whether you know how these two instructions combine, and which one CLI arguments actually override.

This is a Pro question

Sign in, then upgrade to Pro or Power to unlock this question and the full Interview Prep bank.

What is the difference between CMD and ENTRYPOINT? How do they interact?

Next Step

Continue to What is a multi-stage build in Docker? Why is it used?← Back to all DevOps, Docker & AWS questions