this post was submitted on 28 Jul 2024
37 points (100.0% liked)

Linux

5191 readers
38 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] sunzu@kbin.run 2 points 3 months ago (1 children)

docker run -d -p 3000:8080 --gpus=all -v ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:ollama

How risky is running this command?

[–] anzo@programming.dev 6 points 3 months ago (1 children)

Same as using any open source app. Actually, less (you're only giving access to some paths, gpus, and listening on a port). You should use 127.0.0.1:xxx:yyy so that it's not attached to all available ip addresses (0.0.0.0 is implicit)

[–] sunzu@kbin.run 1 points 3 months ago (1 children)

Thank you!

Does 0.0.0.0 open it to anyone subject to firewall? It seems it didn't work for local network access

[–] anzo@programming.dev 3 points 3 months ago

Yes, it's subject to firewall