I want to change the default docker registry configuration in nomad. I am setting up a nomad cluster in enterprise VM, which connects to frog artifcatory docker registry. Any docker hub images reference has to go through the internal artifactory registry.
Current error when I run a nomad job is below.
failed to setup alloc: pre-run hook "network" failed: failed to create network for alloc: Failed to pull `gcr.io/google_containers/pause-amd64:3.1`: API error (500): Get https://gcr.io/v2/: dial tcp: lookup gcr.io: no such host
Here I want to pull the images through some url like