From 6f2e0ed65af1c20f2940d7f394726d74efe298c1 Mon Sep 17 00:00:00 2001 From: Dustin Franklin Date: Sun, 21 Apr 2024 17:30:31 -0400 Subject: [PATCH] updated ollama docs --- docs/tutorial_ollama.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial_ollama.md b/docs/tutorial_ollama.md index 698d8cda..5a2af68f 100644 --- a/docs/tutorial_ollama.md +++ b/docs/tutorial_ollama.md @@ -33,7 +33,7 @@ jetson-containers run --detach --name ollama $(autotag ollama) # models cached under your user's home directory -docker run --runtime nvidia -it --rm --network=host -v ~/ollama:/root/.ollama dustynv/ollama:r36.2.0 +docker run --runtime nvidia -d --rm --network=host -v ~/ollama:/ollama -e OLLAMA_MODELS=/ollama dustynv/ollama:r36.2.0 ``` Running either of these will start the local Ollama server instance as a daemon in the background. It will save the models it downloads under your `jetson-containers/data/models/ollama` directory (or another directory that you choose to mount to `/root/.ollama`)