I want to run Ollama as a service to use in a Gitlab CI/CD job. For example, this works: ollama: services: - name: ollama/ollama alias: ollama command: ["serve"] script: | curl -s -S ollama:11434 I get the default ollama response Ollama is running . The problem is, the ollama service hasn't pulled down any models. If I try to generate a prompt it fails: curl -s -S ollama:11434/api/generate -X POST -d '{ "model": "llama3.2", "stream": false,...
Originally asked by jeremywat on Stack Exchange (stackoverflow) (CC BY-SA 4.0).