Q. What is the purpose of the HEALTHCHECK instruction in a Dockerfile?
β
Correct Answer: (A)
To check the health of the container
Explanation: The HEALTHCHECK instruction defines a command to check the health of the container.