mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #8137] [privacy/security enhancement]: Maximum isolated cli for Docker #15016
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gwpl on GitHub (Dec 27, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8137
As community had discussion with statements like: "This is fairly concerning. This project has the potential to allow people to actually have privacy while using AI but some of the design choices do not seem to focus on privacy."
or "Don't trust our word for it; We encourage you to examine/audit our code",
considering that auditing whole codebase it not economically feasible for most users,
here https://github.com/open-webui/open-webui/discussions/1966#discussioncomment-11676778
I linked to this proposal:
Could you provide commandline (in some e.g. bash script file or some README), that runs things in docker with maxium isolation! What does it mean?
Topic of isolating programs running in Docker for security purposes, is explored here:
It basically means to set all isolation parameters as strict as possible, and allow only the most necessary minium.
Additionally one could consider additional even more enhanced setup where all traffic goes through firewall/gateway running in another docker container (e.g. both can be in same docker network and docker-compose?), so all external connections to whatever destinations would have to go thought approved whitelist and be audited/logged (?).
@gaby commented on GitHub (Dec 27, 2024):
I don't think this is Open-WebUI job to implement. They are already limited given a lot of these tools require root to access the GPU's and resources.
The Docker image allows overriding the UID/GID but it's not tested.
See here: https://github.com/open-webui/open-webui/blob/main/Dockerfile#L19
Regarding firewall, that's the job of the dev/team using Open-WebUI to control access to their instance.