docs: fix docker container names in local setup guides (#577)

Docker Compose v2 derives container names from the directory name using
dashes. Since the docs instruct users to create an `open-notebook-local`
folder, the correct container name is `open-notebook-local-ollama-1`,
not `open_notebook-ollama-1`.

Fixes #575
This commit is contained in:
Luis Novo 2026-02-14 18:38:32 -03:00 committed by GitHub
parent 7efac77503
commit 9811c58d15
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View file

@ -96,13 +96,13 @@ Ollama needs at least one language model. Pick one:
```bash ```bash
# Fastest & smallest (recommended for testing) # Fastest & smallest (recommended for testing)
docker exec open_notebook-ollama-1 ollama pull mistral docker exec open-notebook-local-ollama-1 ollama pull mistral
# OR: Better quality but slower # OR: Better quality but slower
docker exec open_notebook-ollama-1 ollama pull neural-chat docker exec open-notebook-local-ollama-1 ollama pull neural-chat
# OR: Even better quality, more VRAM needed # OR: Even better quality, more VRAM needed
docker exec open_notebook-ollama-1 ollama pull llama2 docker exec open-notebook-local-ollama-1 ollama pull llama2
``` ```
This downloads the model (will take 1-5 minutes depending on your internet). This downloads the model (will take 1-5 minutes depending on your internet).
@ -224,7 +224,7 @@ docker compose up -d
Check if GPU is available: Check if GPU is available:
```bash ```bash
# Show available GPUs # Show available GPUs
docker exec open_notebook-ollama-1 ollama ps docker exec open-notebook-local-ollama-1 ollama ps
# Enable GPU in docker-compose.yml: # Enable GPU in docker-compose.yml:
# - OLLAMA_NUM_GPU=1 # - OLLAMA_NUM_GPU=1
@ -236,10 +236,10 @@ Then restart: `docker compose restart ollama`
```bash ```bash
# List available models # List available models
docker exec open_notebook-ollama-1 ollama list docker exec open-notebook-local-ollama-1 ollama list
# Pull additional model # Pull additional model
docker exec open_notebook-ollama-1 ollama pull neural-chat docker exec open-notebook-local-ollama-1 ollama pull neural-chat
``` ```
--- ---

View file

@ -174,7 +174,7 @@ volumes:
Then restart and pull a model: Then restart and pull a model:
```bash ```bash
docker compose restart docker compose restart
docker exec open_notebook-ollama-1 ollama pull mistral docker exec open-notebook-local-ollama-1 ollama pull mistral
``` ```
Configure Ollama in the Settings UI: Configure Ollama in the Settings UI: