Description
Hi, I aim to install DeepSeek after having installed Ollama on a docker container AWS EC2 instance.
Here is what I tried and the feedback I got from my Mac Terminal:
docker exec -it ollama pull deepseek-r1:7b-qwen-distill-q4_K_M
OCI runtime exec failed: exec failed: unable to start container process: exec: "pull": executable file not found in $PATH: unknown
[ec2-user@XXXX ~]$ docker exec -it XXXXXXXXXXX pull deepseek-r1:7b-qwen-distill-q4_K_M
OCI runtime exec failed: exec failed: unable to start container process: exec: "pull": executable file not found in $PATH: unknown
[ec2-user@XXXX ~]$ docker exec -it XXXXXXXXXXXX sh pull deepseek-r1:7b-qwen-distill-q4_K_M
sh: 0: Can't open pull
[ec2-user@XXXX ~]$ sudo service ollama status
Redirecting to /bin/systemctl status ollama.service
Unit ollama.service could not be found.
When I run the command: docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
XXXXXXXXXXX 39d30XXXXXXX "/bin/ollama serve" 23 hours ago Up About an hour 0.0.0.0:11434->11434/tcp, :::11434->11434/tcp ollama
Can you please help me understand what is happening and why? What should I do next?
Note I changed user and container id with XXX for security reasons. Thanks in advance for your help.