apocas / docker-modem

Docker Remote API network stack driver.
Apache License 2.0
234 stars 112 forks source link

Since v5 DOCKER_HOST is not resolved on macOS with OrbStack #164

Open WeeJeWel opened 10 months ago

WeeJeWel commented 10 months ago

Please see this diff: https://github.com/apocas/docker-modem/compare/v3.0.0..v5.0.0#diff-55d7eacad4cdcc83064806c86ad0c5acfdee1dce88730cf041108408b5e0197bR80

Something broke here. On macOS with OrbStack (instead of Docker Desktop), the connection to Docker cannot be made.

$ ls -la ~/.docker/run/
total 0
drwxr-xr-x@  4 emile  staff  128 Nov  9 15:08 .
drwxr-xr-x@ 13 emile  staff  416 Nov  9 16:06 ..
srwxr-xr-x@  1 emile  staff    0 Nov  9 15:08 docker-cli-api.sock
srwxr-xr-x@  1 emile  staff    0 Nov  9 15:08 docker.sock

Running

$ DOCKER_HOST=unix:///var/run/docker.sock node ...

does work.