|
@@ -167,12 +167,20 @@ property is not set, the client falls back to the default table
|
|
format. For a list of supported formatting directives, see
|
|
format. For a list of supported formatting directives, see
|
|
[**Formatting** section in the `docker secret ls` documentation](secret_ls.md)
|
|
[**Formatting** section in the `docker secret ls` documentation](secret_ls.md)
|
|
|
|
|
|
|
|
+
|
|
The property `nodesFormat` specifies the default format for `docker node ls` output.
|
|
The property `nodesFormat` specifies the default format for `docker node ls` output.
|
|
When the `--format` flag is not provided with the `docker node ls` command,
|
|
When the `--format` flag is not provided with the `docker node ls` command,
|
|
Docker's client uses the value of `nodesFormat`. If the value of `nodesFormat` is not set,
|
|
Docker's client uses the value of `nodesFormat`. If the value of `nodesFormat` is not set,
|
|
the client uses the default table format. For a list of supported formatting
|
|
the client uses the default table format. For a list of supported formatting
|
|
directives, see the [**Formatting** section in the `docker node ls` documentation](node_ls.md)
|
|
directives, see the [**Formatting** section in the `docker node ls` documentation](node_ls.md)
|
|
|
|
|
|
|
|
+The property `configFormat` specifies the default format for `docker
|
|
|
|
+config ls` output. When the `--format` flag is not provided with the
|
|
|
|
+`docker config ls` command, Docker's client uses this property. If this
|
|
|
|
+property is not set, the client falls back to the default table
|
|
|
|
+format. For a list of supported formatting directives, see
|
|
|
|
+[**Formatting** section in the `docker config ls` documentation](config_ls.md)
|
|
|
|
+
|
|
The property `credsStore` specifies an external binary to serve as the default
|
|
The property `credsStore` specifies an external binary to serve as the default
|
|
credential store. When this property is set, `docker login` will attempt to
|
|
credential store. When this property is set, `docker login` will attempt to
|
|
store credentials in the binary specified by `docker-credential-<value>` which
|
|
store credentials in the binary specified by `docker-credential-<value>` which
|
|
@@ -218,6 +226,7 @@ Following is a sample `config.json` file:
|
|
"statsFormat": "table {{.Container}}\t{{.CPUPerc}}\t{{.MemUsage}}",
|
|
"statsFormat": "table {{.Container}}\t{{.CPUPerc}}\t{{.MemUsage}}",
|
|
"servicesFormat": "table {{.ID}}\t{{.Name}}\t{{.Mode}}",
|
|
"servicesFormat": "table {{.ID}}\t{{.Name}}\t{{.Mode}}",
|
|
"secretFormat": "table {{.ID}}\t{{.Name}}\t{{.CreatedAt}}\t{{.UpdatedAt}}",
|
|
"secretFormat": "table {{.ID}}\t{{.Name}}\t{{.CreatedAt}}\t{{.UpdatedAt}}",
|
|
|
|
+ "configFormat": "table {{.ID}}\t{{.Name}}\t{{.CreatedAt}}\t{{.UpdatedAt}}",
|
|
"serviceInspectFormat": "pretty",
|
|
"serviceInspectFormat": "pretty",
|
|
"nodesFormat": "table {{.ID}}\t{{.Hostname}}\t{{.Availability}}",
|
|
"nodesFormat": "table {{.ID}}\t{{.Hostname}}\t{{.Availability}}",
|
|
"detachKeys": "ctrl-e,e",
|
|
"detachKeys": "ctrl-e,e",
|