Docker Swarm init ignores –data-path-addr argument #47389
Labels
area/networking
area/swarm
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
It seems
docker swarm init
ignores--data-path-addr
argument when using it likeWhen looking at
netstats
, the port 4789 is listened to on all IPs:Reproduce
Start a fresh Debian VM
Expected behavior
All ports used by Docker should only be listening on the specified interface and it's IP addresses.
docker version
Client: Docker Engine - Community Version: 25.0.3 API version: 1.44 Go version: go1.21.6 Git commit: 4debf41 Built: Tue Feb 6 21:14:25 2024 OS/Arch: linux/amd64 Context: default Server: Docker Engine - Community Engine: Version: 25.0.3 API version: 1.44 (minimum version 1.24) Go version: go1.21.6 Git commit: f417435 Built: Tue Feb 6 21:14:25 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.28 GitCommit: ae07eda36dd25f8a1b98dfbf587313b99c0190bb runc: Version: 1.1.12 GitCommit: v1.1.12-0-g51d5e94 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Additional Info
As discussed on Docker Forum (link).
The text was updated successfully, but these errors were encountered: