Tips coming from Git

This commit is contained in:
Valentino Stillhardt 2024-06-12 10:15:14 -03:00 committed by GitHub
parent fcb7611448
commit b287bbd821
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -104,6 +104,9 @@ docker volume create --name ollama
docker run --rm -v ollama-webui_open-webui:/from -v open-webui:/to alpine ash -c "cd /from ; cp -av . /to"
docker run --rm -v ollama-webui_ollama:/from -v ollama:/to alpine ash -c "cd /from ; cp -av . /to"
```
Depending on whether you had ollama installed, or already had the same volume names in place, some of the commands **might throw errors**, but they can usually be safely ignored since we're overwriting.
Then, start both containers as usual, as described in the Getting started guide.
Once you verify that all the data has been migrated you can erase the old volume using the command `docker volume rm` mentioned above.