moby/docs
Albin Kerouanton 4f47013feb
api: Validate IPAM config before creating a network
Currently, IPAM config is never validated by the API. Some checks
are done by the CLI, but they're not exhaustive. And some of these
misconfigurations might be caught early by libnetwork (ie. when the
network is created), and others only surface when connecting a container
to a misconfigured network. In both cases, the API would return a 500.

Although the `NetworkCreate` endpoint might already return warnings,
these are never displayed by the CLI. As such, it was decided during a
maintainer's call to return validation errors _for all API versions_.

Signed-off-by: Albin Kerouanton <albinker@gmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-08-22 17:11:54 +02:00
..
api api: Validate IPAM config before creating a network 2023-08-22 17:11:54 +02:00
contributing docs: document more buildx targets 2023-06-27 14:03:02 -06:00
static_files Remove Docker logo 2017-10-11 13:17:59 +01:00
cluster_volumes.md vendor: github.com/moby/swarmkit/v2 v2.0.0-20220721174824-48dd89375d0a 2022-08-09 14:03:50 +02:00
rootless.md Update documentation links 2021-02-25 12:11:50 +01:00