Ubuntu Version:
24.04 - edubuntu distro
Desktop Environment (if applicable):
I don’t know
Problem Description:
Failing to get docker, open-webui and Ollama to play nicely
Relevant System Information:
PC: AM4 Gigabyte MB: B550M-DS3H-AC, AMD 5800X3D CPU, 6900XT GPU, 32G RAM, Linux running on external 1Tb NVME
I have had this distro up and running for a little over a month. Was using it, alongside my mac mini to take courses at Boot.dev. It was successfully used for much of that. Two weeks ago, attempted to install the combination of open-webui, Ollama and docker to create a container to serve a local LLM to my linux machine. It took some setup, and I paused that and went through several lessons on Boot.dev course on docker. Installed a ton of stuff, including docker desktop, as well as the CLI version. I did a few ‘runs’ at installing these three technologies according to online instructions, and eventually got it to work. Yay!
A few days after that, I saw online a post about how to get Ollama to use my GPU - which I thought was a great idea. Followed the instructions to do that, built an ROCm image for the unsupported (by Docker) AMD GPU, installed all of that and completely broke my working Ollama/webui/docker installation. Didn’t brick the machine, but I tried and tried to find ways to get these three to play nice with my GPU - all to no avail. Eventually gave up, and tried to re-create the solution I had going before : vanilla docker/webui/ollama (non GPU) and … nada. Hard fail, errors, deleting, re-installing, questioning online AI to get help. tons of stuff being downloaded via CLI etc etc. Nothing. It simply will not work. I even got open-webui to show ollama out my 3000 port locally, but there was no option to access or download a model.
I am a complete linux noob, and the way the cli dumps packages all over the system, so that I have no idea whats installed or where is very confusing to me.
Long story short, I feel that by doing all this, I have turned what was a working distro into a brick. So I am likely to try flashing the existing hd with the install image (a complete reformat)> and start again with a clean slate.
All in all, linux has ground me down to pebbles! I have no idea what many of these commands do, and the AI assistants sometimes help, and sometimes screw everything up. I had aspirations of being able to create apps, write code, and host back end servers to those apps, and linux seemed like the definite way to go…before I started actually using it. Now, I don’t know how to proceed.
I saw a note this morning about containers for applications (docker) and containers for entire OS/applications, as compared to virtual machines. This was from an authoritative linux source, but I neglected to bookmark it, and have lost where the actual source was from . It looked like a way to install linux OS into a container, then if that container got to the point I am at now with my linux distro (unusable, broken, and in need of deletion/replacement), that would be a better way to go.
So. My basic ask is this:
Should I go ahead and nuke and restart my linux distro from scratch? Following that I want to get ollama, open-webui and some containerization. Docker seems fairly broken to me: It not only doesn’t support GPU use other than nvidia on WSL – which kinda undoes all the reasons to run linux in the first place (no privacy from microsoft in WSL), it is nearly impossible to setup and run. For me at least. I have spent about 70 hours or so now trying to re-establish how to get Ollama, webui and docker working as a team, and it is a hard fail.
Would love to hear any suggestions on how to do a containerization without docker, or a full virtual machine solution. Anything that will get linux to work.
If you got this far, then bless you! Thanks for taking a look at my journey into this. I will continue to tilt at this windmill, but for now I will wait to see if there are any responses that may guide my journey.
Cheers!