pulling ollama model llama2 using http://host.docker.internal:11434 pull-model-1 panic: $HOME is not defined
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 30/100
Research direction
Start by reproducing the failure with docker-compose up --build on macOS and inspect the pull-model-1 service configuration. Trace how the Ollama model pull command receives its environment, then verify that the llama2 model pulls without the $HOME is not defined panic.
Written by the indexing model from the issue text.
Description
I am running genai-stack on my Mac and getting this error when I do: docker-compose up --build
pull-model-1 | pulling ollama model llama2 using http://host.docker.internal:11434
pull-model-1 | panic: $HOME is not defined
pull-model-1 |
pull-model-1 | goroutine 1 [running]:
pull-model-1 | github.com/ollama/ollama/envconfig.Models()
pull-model-1 | github.com/ollama/ollama/envconfig/config.go:93 +0xa9
pull-model-1 | github.com/ollama/ollama/envconfig.AsMap()
pull-model-1 | github.com/ollama/ollama/envconfig/config.go:253 +0x699
pull-model-1 | github.com/ollama/ollama/cmd.NewCLI()
pull-model-1 | github.com/ollama/ollama/cmd/cmd.go:1329 +0xb68
pull-model-1 | main.main()
pull-model-1 | github.com/ollama/ollama/main.go:12 +0x13
pull-model-1 | panic: $HOME is not defined
pull-model-1 |
pull-model-1 | goroutine 1 [running]:
pull-model-1 | github.com/ollama/ollama/envconfig.Models()
pull-model-1 | github.com/ollama/ollama/envconfig/config.go:93 +0xa9
pull-model-1 | github.com/ollama/ollama/envconfig.AsMap()
pull-model-1 | github.com/ollama/ollama/envconfig/config.go:253 +0x699
pull-model-1 | github.com/ollama/ollama/cmd.NewCLI()
pull-model-1 | github.com/ollama/ollama/cmd/cmd.go:1329 +0xb68
pull-model-1 | main.main()
pull-model-1 | github.com/ollama/ollama/main.go:12 +0x13
pull-model-1 exited with code 1
- Dominant language
- Python
- Stars
- 5.4k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from docker/genai-stack
-
Difficulty 4/5 3-5 days Newbie friendliness 15/100
docker/genai-stack#207 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
docker/genai-stack#205 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
docker/genai-stack#203 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
docker/genai-stack#195 · 3 comments ·
-
Bot is unresponsive Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
docker/genai-stack#194 · 1 comment ·
All issues in docker/genai-stack
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100