Skip to content

Invitation to collaborate on "docker model code" #265

@ericcurtin

Description

@ericcurtin

This is a draft PR in github:

#264

it's some initial work to make cline a first-class citizen in Docker Model Runner. We first tried aider, but we believe cline is a superior tool, we hit issues with aider.

https://github.com/cline/cline

The goal is to be like a CLI version of https://github.com/copilot/agents with a git-like experience, so when a user does:

docker model code ai/qwen3-coder "Add feature A"

An empheral container (docker run --rm) will be spun up with which only has write access to the git repo. Cline will execute in YOLO Mode until the task is complete. By default, we will use the Docker Model Runner endpoint for inferencing.

A user may also just type:

docker model code ai/qwen3-coder

and a text editor pops up so the user can explain the task, just like if someone typed "git commit".

We believe this would enhance cline's YOLO Mode, by encapsulating the task in a container, adding restrictions and only giving write access to the git repo. Leading to a more secure experience.

A cline expert would probably be best to look at this. Interested in looking at this @saoudrizwan @celestial-vault ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions