Q. What is the purpose of the CMD instruction in a Dockerfile?
β
Correct Answer: (B)
To define the default command to run in the container
Explanation: The CMD instruction specifies the default command to run when the container starts.