Nomad delegates image handling to the Docker daemon, which default behavior is to check the existence of an image locally before pulling from Docker Hub (unless you run docker run --pull always, which corresponds to force_pull = true in Nomad’s job file). So the pulling strategy is not really a feature of Nomad itself.
Hi @wimax-grapl and @fhemberger, thanks for the discussion on this topic. I feel this is something worth documenting on the Nomad site so readers don’t have to search for this detail in multiple places.
@wimax-grapl would you be able to raise an issue request against the Nomad repository so we can track this?
I guess ultimately my problem is with the previous sentence, “By default it will be fetched from Docker Hub”. The true behavior is that "By default it will be fetched from the host’s Docker daemon, unless the tag is latest".