A credit-union batch image must always start the same scanner binary, but testers want to override only the folder argument without rebuilding. How should ENTRYPOINT and CMD be assigned?
Select an answer to reveal the explanation.
Short Explanation
ENTRYPOINT is the locked steering wheel—always the same scanner. CMD is the sticky note with the default folder that testers can swap at run time without baking a new image for every path.
Full Explanation
ENTRYPOINT defines the fixed executable that should always run. CMD supplies default arguments that a host can override when starting the container. Putting mutable folder paths only in ENTRYPOINT blocks easy overrides; WORKDIR and EXPOSE do not define the process or its arguments. Separate images per folder waste registry space when runtime arguments suffice.