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
{{ message }}
Repository navigation
render: cannot create Docker network on macOS — Unix socket path percent-encoded as %2F in HTTP URL causes context deadline exceeded #531
Running crossplane composition render on macOS with Docker Desktop fails when creating the Docker network for rendering. The Go Docker client incorrectly percent-encodes the Unix socket path in the HTTP URL, producing http://%2Fvar%2Frun%2Fdocker.sock/_ping instead of a valid Unix socket HTTP request — causing a context deadline exceeded timeout.
The error occurs even though Docker is fully functional (docker ps, docker network create all work normally).
Error message
crossplane: error: cannot create Docker network for rendering: cannot create Docker network "crossplane-render-xxxxx": Get "http://%2Fvar%2Frun%2Fdocker.sock/_ping": context deadline exceeded
How to reproduce
Install Docker Desktop on macOS (tested with Docker Desktop 4.x, macOS arm64)
Install crossplane CLI v2.5.0 via brew
Run crossplane composition render <xr.yaml> <composition.yaml>
Observe failure at the "cannot create Docker network" step
Workaround
Use socat to bridge the Unix socket to TCP, then set DOCKER_HOST:
Activity
adamwg commentedon Nov 11, 2026
Hi @mfaizanse - were you able to solve this? If you can share what was wrong, it could be helpful for anyone else who hits the issue in the future.