If I do
docker pull somethinga/somethingb:sometag
how exactly do I know if I'm pulling image somethingb:sometag
from a registry hosted at somethinga
or if I'm pulling image somethinga/somethingb:sometag
from docker hub?
I noticed that, currently at least, dockerhub only seems to allow docker ids that "Use 4 to 30 letters & digits only." So gcr.io/blah:blah
doesn't seem like it's going to get interpreted as an image from Docker Hub.
But what's the actual procedure? Does the docker pull
command try to use somethinga
as the hostname and then fall back to checking Docker Hub? Or is it the otherway around?
Is this actually specified somewhere?