Suggestion about model reinstall-runner

Open
#958 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
docker, go

Research direction

Start by tracing the reinstall-runner entry point and how it handles the existing runner settings when replacing the runner image. Compare its behavior for the host, restart policy, port, and Docker network, then review how a possible update-runner command should preserve those settings while supporting a changed llama.cpp version or behavior. Done means the requested settings survive the runner update and the behavior is covered by tests.

Written by the indexing model from the issue text.

Description

I hoped reinstall-runner would just take the old runner settings and transfer them to a possible updated runner image.

Instead it dropped all former settings:

  • host got reseted to 127.0.0.1 from 0.0.0.0
    ( i guess same would happen if you would choose a different port)
  • host restart policy got changed back from --restart until-stopped
  • a docker network connect "my-personal-backend-network" docker-model-runner got reseted to only have the default bridge.

I would love to see a model update-runner specially if you need a new version from llama.cpp or a change in behaivior for the reinstall-runner.

Dominant language
Go
Stars
665
Forks
161
Avg merge
4h 25m
Merged PRs (30d)
18

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from docker/model-runner

All issues in docker/model-runner

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.