What happens if you attempt to perform a Docker build based on an image that has not been previously referenced on your machine?

A)  Docker will pull the image from GitHub.
B)  Docker will return a 404: file not found message.
C)  Docker will return a 408: image not found message.
D)  Docker will pull the image from Docker Hub.

Correct Answer :   Docker will pull the image from Docker Hub.


Explanation : Docker will look at the local image repository when a container image is referenced in a Dockerfile. If one is not found on the host, Docker will search for an image with the same name and version number on Docker Hub.