By default to interact with the model, the user needs to use the terminal, I will try to create and attach the UI to interact with the model using GUI,
- Pull the Ollama Docker Image
docker pull ghcr.io/jmorganca/ollama:latest
- Set Up a Persistent Volume
mkdir -p ~/.ollama/models
- Run Ollama in a Container
docker run -it --rm \
-p 11411:11411 \
-v ~/.ollama:/root/.ollama \
ghcr.io/jmorganca/ollama:latest bash
- Download the Qwen2.5-Coder:7b Model
ollama pull qwen2.5-coder:7b
- Run the Model
ollama run qwen2.5-coder:7b
GPU Acceleration (Optional)