Closed pradg73 closed 7 months ago
🤖
Hi @pradg73! 👋 I'm Dosu, a friendly bot here to assist while we wait for a human maintainer. I can help you resolve bugs, answer questions, and guide you in contributing to the repository. Rest assured, I'm here to ease your journey. Don't hesitate to ask for help!
The error message you're seeing, Listing currently running containers failed. error=error trying to connect: Permission denied (os error 13)
, is likely due to insufficient permissions for the supabase-vector
container to access the Docker socket.
In the Quivr codebase, the supabase-vector
container is responsible for storing and retrieving vector embeddings of documents in a Supabase database. It requires read-only access to the Docker socket to interact with the Docker daemon, as well as read-only access to its configuration file. These permissions are specified in the volume mappings in the Docker Compose file.
Here's what you can do to resolve this issue:
Ensure that the Docker socket file (/var/run/docker.sock
) exists on your host machine. You can check this by running ls /var/run/docker.sock
in your terminal.
Check the permissions of the Docker socket file. It should be readable by the user running the Docker daemon. You can check the permissions by running ls -l /var/run/docker.sock
in your terminal.
If the Docker socket file is not readable by the Docker user, you can change the permissions by running sudo chmod a+r /var/run/docker.sock
in your terminal. This command grants read permissions to all users.
Finally, restart your Docker containers by running docker-compose down
followed by docker-compose up
.
Please try these steps and let me know if the issue persists. If it does, it would be helpful to know more about your Docker setup, including the version of Docker you're using and the user you're running Docker as.
For more information on the supabase-vector
container and its permissions, you can refer to the backend/vectorstore/supabase.py and docker-compose-no-frontend.dev.yml files in the Quivr repository.
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.
Thanks for your contributions, we'll be closing this issue as it has gone stale. Feel free to reopen if you'd like to continue the discussion.
What happened?
Listing currently running containers failed. error=error trying to connect: Permission denied (os error 13)
Relevant log output
Twitter / LinkedIn details
No response