-
Notifications
You must be signed in to change notification settings - Fork 11.7k
docker : enable RPC for docker images #13474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a small concern: some users might be worried about the security implications of including RPC in the docker image by default.
While I understand that having RPC in the image doesn’t mean it’s enabled at runtime, I’m concerned that not all users will realize this. In the past, I’ve had users and clients reach out to me with concerns when security reports involving RPC came up. At the time, I was able to reassure them that RPC wasn’t even part of the image.
Btw, I really appreciate the work you've done on the RPC backend - it’s impressive. That said, I do think we should be cautious about including it by default, which may not be what most users expect.
While that make sense. This still requires a extra cli arg to enable when running the server. I think the general case of making it easier for people to run in a distributed manner (like those in a homelab environment) without having to rebuild it makes a lot more sense. |
While the server part (
I am not sure I understand. Do you mean |
I'm talking about the client side. Like you said there's no (rpc) server component with this change, so there's nothing extra exposed for any users of llama-server. The server part is still completely separate and there's no rpc listeners associated with llama-server. |
I know this change is technically safe. But I mean, in UX design, there is a concept called "Users are stupid" Even when we make it super hard to (accidentally) enable RPC code path in prod, most users only care about: (1) RPC is included in the build and (2) there was (or will be) some security reports involving RPC. |
Let's park this until we have at least some coverage guided fuzzing for the RPC or some other automated security tests |
No description provided.