Install Ollama and Open Web-UI using Docker on Ubuntu, in under 5 minutes

Опубликовано: 27 Октябрь 2024
на канале: DeKay
11,101
250

#ollama
#docker
#openwebui

Timestamps:
00:00 - Intro
00:24 - Install Docker
00:55 - Install Ollama as docker container
02:23 - Install LLMs
04:15 - Install Open Web-UI
05:55 - Remove LLMs


Links:
https://docs.docker.com/engine/instal...
https://ollama.com/
https://docs.openwebui.com/
https://hub.docker.com/r/ollama/ollama
https://github.com/ollama/ollama

Commands:
sudo docker volume create ollama_models

sudo docker run -d -v ollama_models:/root/.ollama -p 11434:11434 --name ollama ollama/ollama

sudo docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main


sudo docker exec ollama ollama run llama3.2:1b
sudo docker exec ollama ollama rm llama3.2:1b
sudo docker exec ollama ollama ps



Disclaimer:
I am not a financial advisor nor is any content in this article presented as financial advice. The information provided in this post or any other posts that I make and any accompanying material is for educational purposes only. It should not be considered financial or investment advice of any kind. Use these tools at your own risk.

Email me at [email protected]