Issue running steps in Quick Start guide #959
-
I am having an issue running the steps in the Quick Start guide found here: https://llama-stack.readthedocs.io/en/latest/getting_started/index.html I have a local llama3.2 model running
But when I attempt to the run the subsequent Docker image, I get the following error:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
It works on Mac. What is your OS? Can any other container access the Ollama endpoint? You can try one of these to test. Linux: docker run --rm --network=host curlimages/curl:latest curl -X GET http://localhost:11434/api/ps | jq . Mac or Windows docker run --rm curlimages/curl:latest curl -X GET http://host.docker.internal:11434/api/ps | jq . |
Beta Was this translation helpful? Give feedback.
-
@nathan-weinberg does your ollama server serve on the same port? (11434) (probably depends how you run ollama) |
Beta Was this translation helpful? Give feedback.
Sorry, I edited my first command.
--network=host
should be before the image definition.Can you please try this one?