Getting Ollama to Use My NVidia GPU in Docker

0
4
Asked By TechieMcCloud On

I'm trying to set up Ollama to run inside Docker while utilizing my NVidia GPU. I have Docker Desktop installed on an Ubuntu Proxmox VM with GPU passthrough. While I can successfully use the GPU with Ollama outside of Docker, I haven't been able to get it to work inside the Docker environment.

2 Answers

Answered By DockerNinja44 On

Why are you using Docker Desktop on Ubuntu? You might want to just install docker-ce and run it natively. Docker Desktop adds an extra VM layer that complicates things.

LearningTheRopes01 -

I'm still a newbie with Docker, just trying to learn the ropes. Once I wrap my head around the basics, I’m sure I’ll find it easier to explore other options.

Answered By GamerDude89 On

I recommend running Open WebUI outside of Docker and keeping Ollama there. That's been working well for me!

CuriousDev123 -

I get that, but I'm specifically trying to integrate Ollama with n8n. I've heard it's easier if they're both running in Docker together, which is why I'm going this route.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.