I am having an issue trying to log in to a private docker repo.
The following configurations are set on a client node.
nomad config:
plugin "docker" {
config {
volumes {
enabled = true
}
auth {
config = "/etc/nomad/docker-auth.json"
}
}
}
/etc/nomad/docker-auth.json
{
"auths": {
"my.private.repo": {
"auth": "`echo -n 'user:pwd' | base64 -w0`"
}
}
}
nomad logs:
==> Error loading configuration from /etc/nomad: Error loading /etc/nomad/docker-auth.json: unexpected keys auths
What am I missing?
Thanks!