moby/docs
Albin Kerouanton ff503882f7
daemon: Improve NetworkingConfig & EndpointSettings validation
So far, only a subset of NetworkingConfig was validated when calling
ContainerCreate. Other parameters would be validated when the container
was started. And the same goes for EndpointSettings on NetworkConnect.

This commit adds two validation steps:

1. Check if the IP addresses set in endpoint's IPAMConfig are valid,
   when ContainerCreate and ConnectToNetwork is called ;
2. Check if the network allows static IP addresses, only on
   ConnectToNetwork as we need the libnetwork's Network for that and it
   might not exist until NetworkAttachment requests are sent to the
   Swarm leader (which happens only when starting the container) ;

Signed-off-by: Albin Kerouanton <albinker@gmail.com>
2023-09-18 17:21:06 +02:00
..
api daemon: Improve NetworkingConfig & EndpointSettings validation 2023-09-18 17:21:06 +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