Q. Which of the following commands is used to build a Docker image from a Dockerfile?
β
Correct Answer: (B)
docker build
Explanation: 'docker build' is the correct command to build an image from a Dockerfile.