khoj-ai / khoj

Your AI second brain. Get answers to your questions, whether they be online or in your own notes. Use online AI models (e.g gpt4) or private, local LLMs (e.g llama3). Self-host locally or use our cloud instance. Access from Obsidian, Emacs, Desktop app, Web or Whatsapp.
https://khoj.dev
GNU Affero General Public License v3.0
12.63k stars 640 forks source link

[FIX] Permission denied #761

Closed Eyobs-droid closed 3 months ago

Eyobs-droid commented 3 months ago

it says permission denied after the docker-compose up command on linux ubuntu

sabaimran commented 3 months ago

Can you include a stack trace, @Eyobs-droid

Eyobs-droid commented 3 months ago

permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Dkhoj%22%3Atrue%7D%7D": dial unix /var/run/docker.sock: connect: permission denied

Rounak40 commented 3 months ago

Try sudo docker-compose up

Eyobs-droid commented 3 months ago

Thank you