Skip to content

docker model launch llmfit #747

Open

Description

@ericcurtin

Runs something like:

docker run --rm ghcr.io/alexsjones/llmfit

must ensure all the right holes are poked in the container, etc.

Activity

  1. ericcurtin commented on Mar 14, 2026

    @ericcurtin
    ContributorAuthor

    Tagging @AlexsJones and @three-foxes-in-a-trenchcoat for awareness. Probably want to point at Docker Model Runner rather than Ollama also.

  2. changed the title [-]docker model fit[/-] [+]docker model launch llmfit[/+] on Mar 15, 2026
  3. sathiraumesh commented on Apr 5, 2026

    @sathiraumesh
    Contributor

    hi @ericcurtin can I look into this? I saw that llmfit has already included dmr as a provider. Maybe I can try to integrate it

  4. sathiraumesh commented on Apr 5, 2026

    @sathiraumesh
    Contributor

    Hi @ericcurtin @AlexsJones i was testing this localy. When
    I set DOCKER_MODEL_RUNNER_HOST=http://model-runner.docker.internal and watched Docker model logs for incoming requests which means it uses the DMR backend.

    
    docker run --rm -it \
      -e DOCKER_MODEL_RUNNER_HOST=http://model-runner.docker.internal \
      --entrypoint sh \
      ghcr.io/alexsjones/llmfit -c "llmfit"
    

    In the default cli mode, it doesn't call the dmr backend, probably pointing to Ollama

    docker run --rm \
      -e DOCKER_MODEL_RUNNER_HOST=http://model-runner.docker.internal \
      ghcr.io/alexsjones/llmfit recommend -n 3 
    

    Should we wait for this to be available in default CLI mode in llmfit?

  5. added a commit that references this issue on Apr 5, 2026
    2477d1d
  6. AlexsJones commented on Apr 5, 2026

    @AlexsJones

    Thanks for testing this @sathiraumesh! You're right — the DOCKER_MODEL_RUNNER_HOST env var was only being honored by llmfit's TUI mode; the CLI recommend subcommand wasn't probing any local provider at all.

    Just cut a release that fixes this: v0.9.1. The recommend command now queries Ollama, MLX, llama.cpp, Docker Model Runner, and LM Studio — same as the TUI — so DMR will receive a request (and the installed status shows up in both text and JSON output).

    Try the same command again with the new image and you should see the request land in Docker model logs.

  7. sathiraumesh commented on Apr 5, 2026

    @sathiraumesh
    Contributor

    Thanks @AlexsJones Ill test it

  8. sathiraumesh commented on Apr 6, 2026

    @sathiraumesh
    Contributor

    #837 @AlexsJones @ericcurtin you can review. I was thinking, should we allow interactive, maybe as another pr refrencing another issue

  9. AlexsJones commented on Apr 6, 2026

    @AlexsJones

    Would docker run --rm -it ghcr.io/alexsjones/llmfit "" work to get the TUI going for now?
    I am reluctant to create another image just for a custom CMD

  10. sathiraumesh commented on Apr 7, 2026

    @sathiraumesh
    Contributor

    @AlexsJones i will try to test. I think we probably need to change the existing implementation a bit to run interactively from DMR side. But I will test and see if there are any other changes that we might need

  11. sathiraumesh commented on May 20, 2026

    @sathiraumesh
    Contributor

    hi @AlexsJones i created a issue request here for the llmfit project to finalize the implementation here based on my findings and comments for this feature here. Can you have a look on this when you have time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions