Nomad network bridge

Hello I encountered an error when I enabled `mode =‘bridge’’

Want to ask about this mirror addressgcr. Io/google_ Containers/pause-amd64:3.1Where can I configure to change to local mirroring

failed to setup alloc: pre-run hook "network" failed: failed to create network for alloc: Failed to pull ``: API error (500): Get net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

Hi @x602,

You can configure Nomad to use an alternate image by configuring the infra_image under the Docker plugin options in Nomad’s agent configuration.

plugin "docker" {
  config {
    infra_image: "<local mirror>/google_containers/pause-amd64:3.1"

1 Like