StudyToCert

All certifications / CKAD / Lessons

Certified Kubernetes Application Developer CKAD (Kubernetes v1.35 curriculum) · Domain 1: Application Design and Build

How Pod `command` and `args` override the image ENTRYPOINT and CMD

▶ Watch the overview video

Last reviewed September 25, 2026 · Leer en español

Kubernetes lets you change how a container starts without rebuilding its image. In a container spec, the command field overrides the image's ENTRYPOINT and the args field overrides the image's CMD. The naming is confusing because Docker's CMD is Kubernetes' args, so it is worth memorising the mapping: command = ENTRYPOINT, args = CMD.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 6 more sections, 3 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study CKAD for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the CKAD study plan