You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, we've hit a strange issue where Docker Desktop for Mac drops UDP packets if they reuse a source port after 120s (the macOS kernel NAT binding session duration). When this occurs, tcpdump reveals that no packets are seen reaching the host's network interface, so the source of the issue is unlikely to be macOS.
The issue does not occur if the UDP traffic is sent every 120s or below, or a different source port is used.
The issue occurs using a fresh install of Docker Desktop v4.37.2 on macOS 15.2 on an M1 chip.
Reproduce
Here is a minimal docker-compose.yml that highlights the issue using DNS:
One more piece of info: only restarting the Docker daemon (Docker for Mac) resets the issue. Tearing down the container and associated resources doesn't seem to make a difference.
I've faced the same issue with Docker Desktop for Windows.
Only reverting to Docker Desktop 4.5.1 version solved the issue for me. Is a really old version but the newest working without the issue...
Description
Hello, we've hit a strange issue where Docker Desktop for Mac drops UDP packets if they reuse a source port after 120s (the macOS kernel NAT binding session duration). When this occurs, tcpdump reveals that no packets are seen reaching the host's network interface, so the source of the issue is unlikely to be macOS.
The issue does not occur if the UDP traffic is sent every 120s or below, or a different source port is used.
The issue occurs using a fresh install of Docker Desktop v4.37.2 on macOS 15.2 on an M1 chip.
Reproduce
Here is a minimal docker-compose.yml that highlights the issue using DNS:
Expected behavior
UDP traffic should correctly be routed out of the host interface and responses routed back to the container making the requests.
docker version
Client: Version: 27.4.0 API version: 1.47 Go version: go1.22.10 Git commit: bde2b89 Built: Sat Dec 7 10:35:43 2024 OS/Arch: darwin/arm64 Context: desktop-linux Server: Docker Desktop 4.37.2 (179585) Engine: Version: 27.4.0 API version: 1.47 (minimum version 1.24) Go version: go1.22.10 Git commit: 92a8393 Built: Sat Dec 7 10:38:33 2024 OS/Arch: linux/arm64 Experimental: false containerd: Version: 1.7.21 GitCommit: 472731909fa34bd7bc9c087e4c27943f9835f111 runc: Version: 1.1.13 GitCommit: v1.1.13-0-g58aa920 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Diagnostics ID
7278E4AE-74CD-4E52-BADE-921484E4E12C/20250121193609
Additional Info
No response
The text was updated successfully, but these errors were encountered: