Add support for Modelfile

Open
#613 5 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

  • #628 by @someone — closed without merging
  • #903 by @areebahmeddd — closed without merging

Assessment

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

Research direction

Start by reading the packaging command and the linked Ollama Modelfile documentation to understand the requested input format and its relationship to the existing command-line options. Done means the packaging command accepts a Modelfile and produces the same intended model package without requiring every option separately; check the existing packaging tests for expected behavior.

Written by the indexing model from the issue text.

Description

good first issue

Ollama has the Modelfile format (link) inspired from the Dockerfile format.

I wonder if we could use the packaging command with such a file, instead of providing all the options on the command line?

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.