Skip to content

Incorrect documentation around docker auth #20630

Closed
@geekodour

Description

@geekodour

https://developer.hashicorp.com/nomad/docs/v1.6.x/drivers/docker#authentication
mentions the following

plugin "docker" {
  config {
    auth {
      helper = "ecr-login"
    }
  }
}

while as per

if v, ok := opts["docker.auth.helper"]; ok {
authConf["helper"] = v
}
conf["auth"] = authConf

it should be

plugin "docker" {
    auth {
      helper = "ecr-login"
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions