-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update vector to >=0.3.0 to support remote docker hosts #2531
Comments
Thanks for reporting this @jweberde (and for the workaround). Would you mind opening the issue with them as a feature request and linking to this issue? I will close this one as it is not something we can support without a custom build. Thanks! |
@encima I discussed the topic with vector community and they told me that in Vector >= timberio/vector:0.30 (May) the issue has been fixed and tcp scheme is supported. I was able to find the fix - vectordotdev/vector@e1c0c02 So basically the problem is because of an outdated version of vector used by supabase. |
Thanks for checking this @jweberde ! OK, let's rename the issue to request the image to be updated in the latest CLI release. As a workaround, you can use the Docker self hosting method and specify the image version in the |
I've merged a fix in cli 1.187.5 so it sends the http scheme to vector instead of tcp. Generally our local and self-service versions match hosted for reproducibility so upgrading vector to a new version may not be trivial. But I will let @Ziinc decide on that. |
This problem still exists even though upgrading vector to 0.30.0 on macos sonoma with the latest docker desktop ✔ Network supabase_default Created 0.0s 2024-08-14T08:41:13.951557Z INFO vector: Vector has started. debug="false" version="0.30.0" arch="aarch64" revision="38c3f0b 2023-05-22 17:38:48.655488673" |
@arikanf are you using latest cli or self-hosting? |
self-hosting with docker |
Can you verify that And also that docker socket is volume mounted into vector container? https://github.com/supabase/supabase/blob/master/docker/docker-compose.yml#423 |
@sweatybridge Same issue when running Rootless Docker, OS: Fedora Silverblue 41 with Supabase installed from Homebrew inside a Toolbx. Successfully launched with |
@ivanburlakov we patched this on cli side to map Do you have docker socket exposed over tcp? |
Bug report
Describe the bug
Running the Supabase CLI Version 1.183.5 clean installation using docker with a remote docker endpoint e.g.
tcp://192.168.10.10:2375
will lead to startup error of the vector container. While starting the project usingnpx supabase start
the vector container will timeout with health check failure and therefore the whole start is canceled:Detailed Docker Logs
Seems to be an error with the Remote TCP Docker Host
To Reproduce
Configure your Mac Local Docker Daemon to be exposed via TCP. For example via socat
Expected behavior
The supabase vector container should support Remote Docker Daemon
Screenshots
If applicable, add screenshots to help explain your problem.
System information
Workaround which will disable Vector for now
The text was updated successfully, but these errors were encountered: