Q. Which Docker command is used to build images from a Dockerfile?
β
Correct Answer: (A)
docker build -t image_name .
Explanation: 'docker build -t image_name .' is used to build an image from a Dockerfile in the current directory.