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
bug: incorrect docker.sock path for supabase_vector container with colima #5073
Describe the bug
When running supabase start with colima, the supabase_vector container fails to start.
The cause is that when supabase start launches the supabase_vector container, the docker.sock path it specifies points to the macOS docker.sock.
It should instead point to /var/run/docker.sock inside the colima VM.
To Reproduce
Install colima on macOS: brew install colima
Start colima: colima start
Run supabase start
An error occurs
failed to start docker container "supabase_vector_quickstart-react": Error response from daemon: error while creating mount source path '/Users/hk/.colima/default/docker.sock': mkdir /Users/hk/.colima/default/docker.sock: operation not supported
We're closing this because it has not had any activity for 45 days, and we try to keep the Supabase CLI issue tracker focused on reports that are still current.
If this still reproduces on the latest Supabase CLI, please comment with /reopen on its own line and include your CLI version, updated reproduction steps, and any recent error output. We appreciate the signal and are happy to take another look.
Problem still persists with supabase/cli version 2.109.1 !
To Reproduce
Install colima on macOS: brew install colima
Start colima: colima start
Run supabase start
An error occurs:
Starting containers...
Stopping containers...
failed to start docker container "supabase_vector_[projectname]": Error response from daemon: error while creating mount source path '/Users/USERNAME/.colima/default/docker.sock': mkdir /Users/USERNAME/.colima/default/docker.sock: operation notsupported
Note
Without --mount-type argument, colima start defaults to virtiofs. In a Colima-repo issue abiosoft/colima#997 (comment) some suggest that colima start --mount-type sshfs can resolve the mounting issue. Haven't tried yet myself.
Partial progress: with colima start --mount-type sshfs, the vector container actually starts. No immediate mkdir ... docker.sock: operation not supported.
New failure: vector restart-loops because it cannot reach the Docker API:
Vector starts → fails to list containers → retries 7x → exits → Supabase eventually reports:
supabase_vector_[projectname] container is not ready: unhealthy
Environment:
macOS Tahoe 26.5.1
colima 0.10.3
Supabase CLI 2.109.1
supabase/config.toml with [analytics] enabled = true
To reproduce:
Reset colima colima stop + colima delete
Restart w/ new mount: colima start --mount-type sshfs
supabase start
Error:
Starting containers...
Waiting for health checks...
supabase_vector_[projectname] container logs:
2026-07-07T18:23:10.070853Z INFO vector::app: Log level is enabled. level="info"
2026-07-07T18:23:10.075829Z INFO vector::app: Loading configs. paths=["/etc/vector/vector.yaml"]
2026-07-07T18:23:10.116583Z WARN vector::config::loading: Transform "router._unmatched" has no consumers
2026-07-07T18:23:10.120504Z INFO source{component_kind="source" component_id=docker_host component_type=docker_logs}: vector::sources::docker_logs: Capturing logs from now on. now=2026-07-07T18:23:10.119804745+00:00
2026-07-07T18:23:10.122942Z INFO source{component_kind="source" component_id=docker_host component_type=docker_logs}: vector::sources::docker_logs: Listening to docker log events.
2026-07-07T18:23:10.226457Z INFO vector::topology::running: Running healthchecks.
2026-07-07T18:23:10.226609Z INFO vector::topology::builder: Healthcheck passed.
2026-07-07T18:23:10.226695Z INFO vector::topology::builder: Internal log [Healthcheck passed.] is being suppressed to avoid flooding.
2026-07-07T18:23:10.226758Z INFO vector: Vector has started. debug="false" version="0.53.0" arch="aarch64" revision="2b51b40 2026-01-27 21:46:39.386326724"
2026-07-07T18:23:10.231594Z ERROR source{component_kind="source" component_id=docker_host component_type=docker_logs}: vector::sources::docker_logs: Listing currently running containers failed. error=HyperLegacyError { err: hyper_util::client::legacy::Error(Connect, Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }) }
2026-07-07T18:23:10.234372Z INFO vector::internal_events::api: API server running. address=0.0.0.0:9001 playground=http://0.0.0.0:9001/playground graphql=http://0.0.0.0:9001/graphql
2026-07-07T18:23:10.234450Z INFO vector_common::shutdown: All sources have finished.
2026-07-07T18:23:10.234454Z INFO vector_common::shutdown: Internal log [All sources have finished.] is being suppressed to avoid flooding.
2026-07-07T18:23:10.234495Z INFO vector::app: All sources have finished.
2026-07-07T18:23:10.234500Z INFO vector: Vector has stopped.
2026-07-07T18:23:10.237764Z INFO vector::topology::running: Shutting down... Waiting on running components. remaining_components="functions_logs, logflare_db, logflare_rest, logflare_realtime, logflare_kong, db_logs, kong_err, kong_logs, logflare_storage, logflare_functions, logflare_auth" time_remaining="59 seconds left"
2026-07-07T18:23:10.434144Z INFO vector::app: Log level is enabled. level="info"
[... this repeats 7 retries ...]
Stopping containers...
supabase_vector_[projectname] container is not ready: unhealthy
Confirmed fix for supabase/cli v2.109.1 + Colima on macOS.
I've re-built apps/cli-go from develop with the Colima socket handling from @hk220's #5074 patch applied. Then set SUPABASE_CLI_BINARY_OVERRIDE to the rebuilt binary path, and re-ran supabase start.
Result: supabase start completes; supabase_vector_[projectname] is healthy; Studio Logs Explorer shows live logs with [analytics] enabled = true. Works with both default virtiofs and --mount-type sshfs.
Activity
ReeceHughes commentedon Apr 21, 2026
I was running into the same issue. A workaround for this is to disable analytics, if you don't need it, in
supabase/config.toml.github-actions commentedon Jun 17, 2026
Hi! Thanks for opening this issue.
We're closing this because it has not had any activity for 45 days, and we try to keep the Supabase CLI issue tracker focused on reports that are still current.
If this still reproduces on the latest Supabase CLI, please comment with
/reopenon its own line and include your CLI version, updated reproduction steps, and any recent error output. We appreciate the signal and are happy to take another look.rlirli commentedon Jul 7, 2026
/reopen
Problem still persists with supabase/cli version 2.109.1 !
To Reproduce
brew install colimacolima startsupabase startNote
Without
--mount-typeargument,colima startdefaults tovirtiofs. In a Colima-repo issue abiosoft/colima#997 (comment) some suggest thatcolima start --mount-type sshfscan resolve the mounting issue. Haven't tried yet myself.rlirli commentedon Jul 7, 2026
Partial progress: with
colima start --mount-type sshfs, the vector container actually starts. No immediatemkdir ... docker.sock: operation not supported.New failure: vector restart-loops because it cannot reach the Docker API:
Vector starts → fails to list containers → retries 7x → exits → Supabase eventually reports:
Environment:
[analytics] enabled = trueTo reproduce:
colima stop+colima deletecolima start --mount-type sshfssupabase startNot yet tried:
DOCKER_HOST=unix:///var/run/docker.sockworkaround from @valeriangalliat's CodeJam writeup (2026-06-01).rlirli commentedon Jul 7, 2026
Confirmed fix for supabase/cli v2.109.1 + Colima on macOS.
I've re-built
apps/cli-gofromdevelopwith the Colima socket handling from @hk220's #5074 patch applied. Then setSUPABASE_CLI_BINARY_OVERRIDEto the rebuilt binary path, and re-ransupabase start.Result:
supabase startcompletes;supabase_vector_[projectname]ishealthy; Studio Logs Explorer shows live logs with[analytics] enabled = true. Works with both defaultvirtiofsand--mount-type sshfs.To reproduce:
supabase/clidevelopcd apps/cli-go && go build -o ~/bin/supabase-colima .colima start(orcolima start --mount-type sshfs)export SUPABASE_CLI_BINARY_OVERRIDE="$HOME/bin/supabase-colima" && supabase startFix still needed in CLI release. Will ask @hk220 to re-open his PR.
fix(cli): use correct docker.sock binding with vector for colima on m…
7ttp commentedon Jul 7, 2026
thanks! @rlirli @hk220 💚
pushed up a fix for this, should likely land tmrw
7ttp commentedon Jul 8, 2026
out in: https://github.com/supabase/cli/releases/tag/v2.110.0-beta.10
fix(cli): colima socket (supabase#5820)
Supabase CLI 버전을 2.110.0-beta.10으로 올려 colima 소켓 마운트 버그 회피 (#404)