Files
moby/daemon
Rob Murray 37725b5eae Drop "-o com.docker.network.enable_ipv[46]" if overridden
When a network is created with "-o com.docker.network.enable_ipv4'
(including via "default-network-opts" in daemon config), and
EnableIPv4 is present in the API request (including when CLI option
"--ipv4" is used) - the top-level API value is used and the '-o'
is ignored.

But, the "-o" still shows up in Options in inspect output, which is
confusing if the values are different.

So, drop the "-o" if the top-level API option is set. Ditto IPv6.

Signed-off-by: Rob Murray <rob.murray@docker.com>
2025-04-25 11:21:13 +01:00
..
2025-01-02 21:37:35 +01:00
2024-09-06 21:53:09 +10:00
2025-03-04 13:56:14 +01:00
2024-11-28 10:03:46 +01:00
2025-04-09 08:45:33 +02:00
2024-06-14 15:25:07 +02:00
2025-04-09 08:45:33 +02:00
2025-01-31 10:34:27 -05:00