Operators pass extra CLI arguments at docker run for a traffic-signal simulator image, but the container seems to ignore them. Which ENTRYPOINT/CMD relationship should they verify?
Select an answer to reveal the explanation.
Short Explanation
ENTRYPOINT is the fixed driver of the bus; CMD is the default destination on the ticket that a passenger can change. Swap them and the bus ignores the destination you shouted at the curb.
Full Explanation
ENTRYPOINT defines the executable that always runs. CMD provides default arguments that docker run can override. Swapping the two is a common reason containers appear to ignore passed commands. Understanding that split is essential for operable images.