fix: pass inference server Entrypoint as a string array - #4681
Open
DeveloperNo579212 wants to merge 1 commit into
Open
fix: pass inference server Entrypoint as a string array#4681DeveloperNo579212 wants to merge 1 commit into
DeveloperNo579212 wants to merge 1 commit into
Conversation
Podman's container create API decodes Entrypoint as []string, so a JSON string such as "/usr/bin/sh" fails with HTTP 400. Use an array for the WSL NVIDIA GPU llama.cpp container. Fixes containers#4679 Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: momma <mikael.omma@trimble.se>
DeveloperNo579212
marked this pull request as draft
August 17, 2026 09:06
DeveloperNo579212
marked this pull request as ready for review
August 17, 2026 09:08
Contributor
|
are u a real person |
Author
|
thanks for asking, I confirm presence of skin,blood and bones. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Pass the llama.cpp inference container
Entrypointas a string array instead of a string.On WSL with NVIDIA GPU, creating a model service sent
"Entrypoint":"/usr/bin/sh". Podman's container create API decodesEntrypointas[]string, so a JSON string fails with HTTP 400 (decode slice: expect [ or n, but found ").Screenshot / video of UI
N/A
What issues does this PR fix or reference?
Fixes #4679
How to test this PR?
Entrypoint: ['/usr/bin/sh'])