nlmatics / nlm-ingestor

This repo provides the server side code for llmsherpa API to connect. It includes parsers for various file formats.
https://www.nlmatics.com
Apache License 2.0
1.11k stars 160 forks source link

Cannot connect to the Docker daemon at unix:///run/user/86364/docker.sock. Is the docker daemon running? #82

Open Tizzzzy opened 3 months ago

Tizzzzy commented 3 months ago

Hi, I am getting the following error when trying to run the docker file

(dong) [conda] [lh599@corfu:nlm-ingestor]$ docker pull ghcr.io/nlmatics/nlm-ingestor:latest
Cannot connect to the Docker daemon at unix:///run/user/86364/docker.sock. Is the docker daemon running?

Environment:

I followed every instruction in the README: python: 3.10.12 I first cloned this repo, and run this command java -jar <path_to_nlm_ingestor>/jars/tika-server-standard-nlm-modified-2.9.2_v2.jar, and it run successfully. Then I installed nlm-ingestor using pip install nlm-ingestor. Then I run the ingestor using python -m nlm_ingestor.ingestion_daemon.

Then I run this command when tika server and ingestor are both running: docker pull ghcr.io/nlmatics/nlm-ingestor:latest, and it gives me the above error.

shubhampatwa commented 3 months ago

@Tizzzzy You don't need docker to start if both server are already started seperately.

Cannot connect to the Docker daemon at unix:///run/user/86364/docker.sock. Is the docker daemon running?

check whether docker is working or not in your local system