mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 00:45:43 +03:00
Updated the docker auth config
This commit is contained in:
@@ -442,7 +442,7 @@ func (d *DockerDriver) Start(ctx *ExecContext, task *structs.Task) (DriverHandle
|
||||
}
|
||||
}
|
||||
|
||||
if authConfig := d.config.Read("docker.auth_config"); authConfig != "" {
|
||||
if authConfig := d.config.Read("docker.auth.config"); authConfig != "" {
|
||||
if f, err := os.Open(authConfig); err == nil {
|
||||
defer f.Close()
|
||||
if authConfigurations, err := docker.NewAuthConfigurations(f); err == nil {
|
||||
|
||||
@@ -247,7 +247,7 @@ The `docker` driver has the following host-level configuration options:
|
||||
to customize this if you use a non-standard socket (http or another
|
||||
location).
|
||||
|
||||
* `docker.auth_config` - Allows an operator to specify a json file which is in
|
||||
* `docker.auth.config` - Allows an operator to specify a json file which is in
|
||||
the dockercfg format containing authentication information for private registry.
|
||||
|
||||
* `docker.tls.cert` - Path to the server's certificate file (`.pem`). Specify
|
||||
|
||||
Reference in New Issue
Block a user