moby--moby/cmd
Sebastiaan van Stijn 0603f87fab
cmd/dockerd: validate API configuration as part of --validate
Previously, the API server configuration would be initialized and
validated when starting the API. Because of this, invalid configuration
(e.g. missing or invalid TLS certificates) would not be detected
when using `dockerd --validate`.

This patch moves creation of the validation earlier, so that it's
validated as part of `dockerd --validate`.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-27 00:34:24 +02:00
..
docker-proxy use go-winres for cross to create Windows resources 2022-04-14 19:52:35 +02:00
dockerd cmd/dockerd: validate API configuration as part of --validate 2022-04-27 00:34:24 +02:00