can enroot overwrite entrypoint of docker image just like how docker run works.
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 50/100
Research direction
Start by examining the enroot start command and its handling of the command after the container name, then compare that behavior with Docker's --entrypoint option. Reproduce the vllm image example and verify that an enroot invocation can launch bash instead of the image's default vllm serve entrypoint.
Written by the indexing model from the issue text.
Description
as we know, official vllm docker image's entrypoint is 'vllm serve',
and in docker environment we can use --entrypoint option to overwrite the default entrypoint like this:
docker run --entrypoint /bin/bash vllm/vllm-openai:v0.18.0
when I use same image in enroot environment, seems this is no way to overwrite it.
enroot create --name vllm-testagent vllm-openai-v0.18.0.sqsh
enroot start --root --rw vllm-testagent bash -c "echo hello"
a workaround is build another image use docker file like:
FROM vllm/vllm-openai:v0.18.0
ENTRYPOINT []
CMD ["/bin/bash"]
WORKDIR /root
is that possible to overwrite default entrypoint in enroot environment? thanks.
- Dominant language
- Shell
- Stars
- 1.1k
- Forks
- 139
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NVIDIA/enroot
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Similar issues
-
Update Vish to 1.1.5 Openpackage-update
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
oSoWoSo/vOid_Community_repOsitory#144 · 1 comment ·
-
help wanted new command
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
tldr-pages/tldr#24151 ·
-
PacReq: Rune IDE Openpackage request
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
pacstall/pacstall-programs#9402 ·
-
[BUG] ci: the first prefetch-images.sh call runs before shard.txt exists, so it is always a no-op Openbug github-actions
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
update-request
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
msys2/MINGW-packages#31768 ·