A records-management team asks whether modifying a container image means running docker commit against a live Pod. What is the correct application practice?
Select an answer to reveal the explanation.
Short Explanation
docker commit is the "save your messy desk as the official blueprint" anti-pattern. Treat images as immutable: change the Dockerfile or build, push a new tag, and let the Deployment roll forward cleanly.
Full Explanation
CKAD expects images to be defined, built, and modified through reproducible build pipelines—not mutable commits from running containers. docker commit captures opaque, non-reproducible layers and bypasses source control. The durable path is rebuild, push, and update the Deployment image field for a controlled rollout.