Q. Which command is used to build a Docker image from a Dockerfile?
β
Correct Answer: (B)
docker build
Explanation: The 'docker build' command is used to build a Docker image from a Dockerfile and a context (usually the current directory).