Hello everyone,
I am using n8n still few days and it is fantastic.
I want to add different model that llama:latest. I want to use nomic-embed-text model.
I try with
docker exec [container-id] ollama pull [model name] but i have this error
exec failed: unable to start container process: exec: “ollama”: executable file not found in $PATH: unknown
I try to modify docker-config.yml by modifying this line - “sleep 3; ollama pull llama3.2; ollama pull nomic-embed-text”
But when i restart the docker I can not se the new model.
I will very appreciate your help.
Thank you !
Try doing the pull in separate steps to see where things are going wrong.
- Start a shell session with the ollama container. This will let you find out whether the ollama container is running.
docker exec -ti ollama /bin/bash
- Note: The container name comes from here, so if you changed it, use that.
- Execute the ollama pull command in the shell (i.e. while still connected to the running container from step 1).
ollama pull mistral
(for example)
2 Likes
Thank you very very much it works fine !
system
Closed
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.