Docker Engine v28: Hardening Container Networking by Default
Docker Engine 28.0 now drops inbound traffic to unpublished container ports by default, closing a long-standing gap where Linux hosts with a permissive iptables FORWARD chain and IP forwarding enabled let machines on the same LAN reach container IPs by adding a route to the bridge subnet. Published ports and host-local access keep working, but setups that relied on direct container IP access from other machines will break. Those users can opt out with the ip-forward-no-drop daemon setting or create a bridge network with gateway_mode_ipv4=nat-unprotected. Before upgrading, inspect FORWARD chain policies with iptables -L and test in staging. Docker Desktop is not affected.
Related posts
- Docker Engine v29: Foundational Updates for the Future
Docker mediumAdeptDocker Engine v29 is a foundational release with four under-the-hood changes. The minimum API version rises to 1.44 (v25), and older clients can be re-enabled via DOCKER_MIN_API_VERSION or min-api-version in daemon.json. The containerd image store becomes the default for new installs, replacing the now-deprecated graph drivers. Moby moves to Go modules, so Go consumers must import github.com/moby/moby instead of github.com/docker/docker. Experimental opt-in nftables support (--firewall-backend=nftables) creates firewall rules directly rather than through iptables, but it does not yet work with Swarm and requires migrating DOCKER-USER chain rules.
- Throwing Out The Phonebook
Fly.io hardMasterFly.io rebuilt 6PN, its private IPv6 network between Fly Machines, replacing a fleet-wide eBPF map of every migrated Machine's location (hundreds of thousands of entries kept in sync from Corrosion's gossip-replicated SQLite) with lazy, on-demand routes. VXLAN's netlink event for unknown addresses is passed through drift-agent to s6pnforwarderd, which queries local Corrosion and installs a single kernel route. Each host now carries only 100–200 routes, addresses no longer need rewriting, and routes can forward through intermediate hosts to tolerate stale entries or steer around bad links. udp-xdp now only validates same-network traffic and sets an fwmark so the design fails closed. The costs are a roughly one-second first-connection delay from TCP retransmission and broken new conversations if the daemons crash. The migration ran both paths side by side behind per-host flags, tolerating asymmetric routing.
- Docker Desktop 4.34: MSI Installer GA, Upgraded Host Networking, and Powerful Enhancements for Boosted Productivity & Administration
Docker mediumAdeptDocker Desktop 4.34 makes the MSI installer generally available for Docker Business, with silent installs and an `--allowed-org` flag that writes a Windows registry key to enforce sign-in to a specific organization. Host networking (`--net=host`) now works on Windows, macOS and Linux, so containers and the host can reach each other's TCP/UDP services over localhost. On WSL2 with the Mono distribution, quitting the app compacts the virtual disk when at least 16GB can be reclaimed. `docker login` now uses a browser-based flow that creates the access token automatically, `docker image list --tree` shows multi-platform images, and fresh installs default to the containerd image store.
- Docker Security Advisory: AuthZ Plugin Bypass Regression in Docker Engine
Docker mediumAdeptDocker Engine v19.03 and later regressed on a 2018 authorization-plugin bypass (CVE-2024-41110): an API request with Content-Length set to 0 causes the daemon to forward the request to the AuthZ plugin without its body, so a plugin not set to deny by default may approve it and allow privilege escalation. The original fix shipped in v18.09.1 in January 2019 but was not carried forward; patches were released July 23, 2024. Only setups relying on AuthZ plugins are affected, and Docker Desktop impact is limited to the VM, with 4.33 containing the fix. Remediation is to upgrade, or else avoid AuthZ plugins and restrict Docker API access.
- WireGuard at Modal: Static IPs for serverless containers
Modal hardMaster
Modal built vprox, a high-availability Go VPN proxy on WireGuard, to give multi-tenant serverless containers static outbound IPv4 addresses for things like database IP allowlists. An earlier SOCKS5 approach broke with libraries that don't use the standard socket module, so Modal moved to Layer 3: clients get WireGuard keys and IPs over an HTTPS connect endpoint, idle peers are reaped by last-handshake time, and clients re-register when ping probes fail. Per-container traffic is steered through Linux policy-based routing with a dedicated routing table per container, because an eBPF xdp_redirect approach bypassed netfilter and broke SNAT. Each proxy node hosts many IPs (up to 240 on an AWS c7gn.8xlarge, under $0.01/hr per IP). A reconciliation loop watches cloud instance metadata so IPs can be moved between nodes for failover within seconds.