In the Docker documentation, it has mentioned that- “Docker looks first for the image on your Docker host. If it can’t find it then it downloads the image from the public image registry”.
Please answer for my queries:
- Where does the docker checks for the image availability on the docker host? Will the docker creates any entry in any file once the image is downloaded from docker hub? If so, what is the location of the file?
- If image is not available locally why it downloads from default image registry? Can I change it to download from other repository if not found locally.
Thanks in advance,