-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
On Ubuntu 24.04 when i run: docker compose --profile linux up I get the following error:
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:11 +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:11 +0x13
database-1 | Installing Plugin 'apoc' from /var/lib/neo4j/labs/apoc-*-core.jar to /var/lib/neo4j/plugins/apoc.jar
database-1 | Applying default values for plugin apoc to neo4j.conf
pull-model-1 exited with code 1
********** further down ***********
database-1 | 2024-08-05 10:42:14.659+0000 INFO Started.
Gracefully stopping... (press Ctrl+C again to force)
service "pull-model" didn't complete successfully: exit 1
it seems to be that my default fails as home doesn't exist: $HOME/.ollama/models