Repository navigation
Description
Description
Follow-up to #820 (closed as fixed in 4.100). On 4.100.0 the guest RCU stall from #820 is gone and the engine stays responsive (docker ps, docker version, docker info answer instantly), but POST /containers/{id}/start for a container that publishes a port never returns once a user-defined network has an endpoint. The container stays Created, and every later start queues behind the stuck one until Docker Desktop is restarted. Every docker compose up with published ports hangs, because compose always creates its own network.
Minimal repro (fresh Docker Desktop restart before each sequence):
docker network create vmmtest
docker run -d --network vmmtest -p 18081:80 alpine:3 sleep 600 # hangs (also with postgres:18.4)
docker run -d --network vmmtest alpine:3 sleep 600 # OK, 1s
docker run -d -p 18082:80 alpine:3 sleep 600 # hangs, default bridge
docker run -d -p 15432:5432 -e POSTGRES_PASSWORD=x postgres:18.4 # OK, 1s
docker run -d -p 5432:5432 -e POSTGRES_PASSWORD=x postgres:18.4 # OK, two published ports on bridge
Only the default bridge with published ports works. As soon as a user-defined network has (or gets) an endpoint, the next start with -p hangs, and so does every start after it, even ones without ports. Same commands work on the WSL2 engine of the same install.
Where it hangs: the host-side apiproxy (log/host/monitor.log) receives the start, the port exposer runs its pre-approval step, and then nothing happens. The request never reaches the guest apiproxy (log/vm/init.log has no line for that container's /start). A successful start shows the same pre-approval step, followed by a second exposer.Add with the container IP and the << response:
# stuck (kafka, compose network adf_qa)
11:30:43.080 apiproxy >> POST /v1.56/containers/a78b72b8.../start <- no "<<", not forwarded to guest
11:30:43.080 ports exposer.Approve(a78b72b8..., /kafka-0.kafka-headless, [TCP 0.0.0.0:29090])
11:30:43.080 ports exposer.Add(a78b72b8..., [TCP 0.0.0.0:29090 -> 127.0.0.1:0])
11:30:43.080 sailorforward 0.0.0.0:29090->127.0.0.1:0 started
11:30:43.080 ports exposer.Remove(a78b72b8...)
11:30:43.081 sailorforward 0.0.0.0:29090->127.0.0.1:0 stopped
# OK (postgres, default bridge)
11:30:26.639 apiproxy >> POST /v1.56/containers/c2294dc7.../start
11:30:26.671 ports exposer.Add(... -> 127.0.0.1:0) / Remove(...) (same pre-approval)
11:30:26.884 ports exposer.Add(c2294dc7..., [TCP 0.0.0.0:5432 -> 172.17.0.3:5432])
11:30:26.884 sailorforward 0.0.0.0:5432->172.17.0.3:5432 started
11:30:26.884 apiproxy << POST /v1.56/containers/c2294dc7.../start
No rcu_preempt detected stalls / __send_to_port / soft lockup in the guest log, so this is not #820. The host port is free (netstat -ano).
Expected: the start is forwarded to the guest dockerd and the port is published, as on WSL2 or on the default bridge.
Versions
- Docker Desktop 4.100.0 (Windows, per-user install), engine
linux/sailor(Docker VMM), guest kernel7.0.14-linuxkit - Docker Engine 29.9.3, Compose v5.7.1
- Windows 11 Pro 10.0.26300
- Daemon
"debug": true
Diagnostics ID
63CAA24B-F384-4F38-BB55-E02F673CB33F/20261120115158 — gathered while m-alpine-d-bridge-port was stuck in start and n-alpine-d-usernet-port queued behind it.
Activity
monosans commentedon Nov 22, 2026
Same stuck start and queue here on 4.100.0 (engine 29.9.3, Docker VMM, Windows 11 LTSC 10.0.26100), but in my case it's mounts, not ports. No published ports and no user-defined network involved.
Since Nov 21 any container with a named volume or a bind mount stays in
Created(a fresh empty volume too), and every start after it hangs, even ones without mounts. Inlog/host/com.docker.backend.exe.logthe last line for the stuck container iscom.docker.krun: registering container <id> with volumes [host=...]. Thecom.docker.backend: registeringline that comes next on a good start never shows up. Named volumes still worked on Nov 20.It's not fully deterministic though: once a plain run with no mounts hung right after a fresh start, and
--tmpfshung as well. A Windows reboot doesn't help.docker desktop stopthendocker desktop startclears the queue,docker desktop restartsometimes doesn't. BuildKit builds keep working, so for now I run without mounts anddocker cpthe results out.mat007 commentedon Nov 25, 2026
Hey! We think we have fixed this for the upcoming 4.101.0 release coming up next week.
In the meanwhile I can offer you a build with the fix if you want to test it out.
ferras777 commentedon Nov 25, 2026
Tested the build with the fix (4.102.0.247405) on Docker VMM: the repro from the description and our real compose stack with Kafka and published ports on a user-defined network now start fine. Thanks!