dev-gpt icon indicating copy to clipboard operation
dev-gpt copied to clipboard

Docker daemon is running, but not detected while gptdeploy run

Open adj009 opened this issue 1 year ago • 10 comments

I am trying to run the created microservice locally using Docker. I am getting Docker daemon doesn't seem to be running. even though Docker is running.

CleanShot 2023-04-24 at 04 20 48

I am on MacOS Ventura.

any way I can provide more info/ logs?

adj009 avatar Apr 23 '23 22:04 adj009

Great that you tried GPT Deploy out!

We are updating the way we check if docker is running in here: https://github.com/jina-ai/gptdeploy/pull/54 Once it is merged, can you try it out?

joschkabraun avatar Apr 24 '23 08:04 joschkabraun

Great that you tried GPT Deploy out!

We are updating the way we check if docker is running in here: #54 Once it is merged, can you try it out?

sure. waiting for that merge.

adj009 avatar Apr 24 '23 08:04 adj009

@joschkabraun i updated the pip module and tried to run the microservice.

CleanShot 2023-04-24 at 15 58 41

adj009 avatar Apr 24 '23 10:04 adj009

Okay, thank you!

Is your docker.sock here /var/run/docker.sock?

joschkabraun avatar Apr 24 '23 13:04 joschkabraun

Okay, thank you!

Is your docker.sock here /var/run/docker.sock?

great catch. I was using colima for Docker, so it had its own Docker.sock path.

I had to make a symlink to /var/run/docker.sock

sudo ln -s /Users/home/.colima/default/docker.sock /var/run/docker.sock


Now, I am in different waters. :)

CleanShot 2023-04-24 at 19 14 36

I dont want to stretch this issue here, if you want to close this, as the original issue was resolved.

adj009 avatar Apr 24 '23 13:04 adj009

@JoanFM do you have any guidance on how to debug this issue?

joschkabraun avatar Apr 25 '23 09:04 joschkabraun

can u run this with JINA_LOG_LEVEL env variable set to DEBUG?

JoanFM avatar Apr 25 '23 09:04 JoanFM

can u run this with JINA_LOG_LEVEL env variable set to DEBUG?

CleanShot 2023-04-26 at 17 37 09

adj009 avatar Apr 26 '23 12:04 adj009

also full output when I cancelled the run execution.

CleanShot 2023-04-26 at 17 39 53

adj009 avatar Apr 26 '23 12:04 adj009

I would first debug the issue by locally instantiating the Executor "CHATGPTTOHUMANEXECUTOR". I bet there is some package wrapping some C code which is trying to do some wrong malloc or trying to deallocate already freed memory.

I would also try to look into the code or paste the code of the Executor here for it to be analyzed

JoanFM avatar Apr 26 '23 17:04 JoanFM