enable_ipv6: false is ignored within docker-compose.yml #47202
Labels
area/networking/ipv6
Issues related to ipv6
area/networking
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
status/0-triage
version/25.0
Description
The PR #46455 introduced a change on how the daemon setup ipv6 inside a docker network.
However, this change forcibly activates ipv6 when in a network declaration a ipv6 subnet exists even if the enable_ipv6 parameter strictly disabled ipv6 (enable_ipv6: false) as intended.
This cause the internal network communication to fail or to be slow as they are trying to talk over ipv6 which they can't.
Reproduce
enable_ipv6: false
Expected behavior
Previously the network was not created with a ipv6 subnet as the enabled_ipv6 parameters were set to false.
docker version
Client: Docker Engine - Community Version: 25.0.0 API version: 1.44 Go version: go1.21.6 Git commit: e758fe5 Built: Thu Jan 18 17:09:59 2024 OS/Arch: linux/amd64 Context: default Server: Docker Engine - Community Engine: Version: 25.0.0 API version: 1.44 (minimum version 1.24) Go version: go1.21.6 Git commit: 615dfdf Built: Thu Jan 18 17:09:59 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.27 GitCommit: a1496014c916f9e62104b33d1bb5bd03b0858e59 runc: Version: 1.1.11 GitCommit: v1.1.11-0-g4bccb38 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Additional Info
Referencing: mailcow/mailcow-dockerized#5664 & mailcow/mailcow-dockerized#5668
The text was updated successfully, but these errors were encountered: