Skip to content

Add launch command for external integrations#82

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/copy-ollama-launch-feature
Draft

Add launch command for external integrations#82
Copilot wants to merge 3 commits intomainfrom
copilot/copy-ollama-launch-feature

Conversation

Copy link

Copilot AI commented Jan 24, 2026

Implements the "ollama launch" feature pattern for Docker Model Runner, enabling users to launch external AI coding tools configured with local models.

Changes

  • New launch command (cmd/cli/commands/launch.go)

    • Interactive terminal UI for integration and model selection
    • Configuration persistence at ~/.docker/model-cli/launch.json
    • --model flag for direct model specification
    • --config flag for setup without launching
  • Supported integrations

    • anythingllm / openwebui — Docker container setup instructions
    • claude — Sets ANTHROPIC_BASE_URL env var to Model Runner endpoint
    • codex — Runs with --oss flag, enforces minimum version v0.81.0
    • opencode — Full Editor interface, writes to ~/.config/opencode/opencode.json
  • Tests (cmd/cli/commands/launch_test.go)

Usage

docker model launch                          # interactive
docker model launch claude                   # prompts for model
docker model launch claude --model ai/gemma3 # direct
docker model launch opencode --config        # configure only

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • dl.google.com
    • Triggering command: /update-job-proxy /update-job-proxy github.com/docke-### t rg/toolchain@v0.c -o k/model-REDACTED/m- t ux-amd64/pkg/tool/linux_amd64/link -p database/sql t ux-amd64/pkg/tool/linux_amd64/link -o submodules | head -n 10 t cfg -p stdeps/deps.go t q0GPvv9/QPctgFFJt5gbJCefSekq (dns block)
    • Triggering command: /update-job-proxy /update-job-proxy DOCKER /home/REDACTED/go/. test -e f34af3f.0 /home/REDACTED/go//usr/share/ca-certificates/mozilla/Microsoft_RSA_Root_Certificate_Authority_2017stop /usr/bin/test -bool 353fb3452654dbf1-rn es test -e 9789157.0 es (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Copy the "ollama launch" feature, we should support launching AnythingLLM, Open WebUI, Claude Code, OpenCode, and Codex


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits January 24, 2026 14:04
…penCode, and Codex integrations

Co-authored-by: ericcurtin <1694275+ericcurtin@users.noreply.github.com>
Co-authored-by: ericcurtin <1694275+ericcurtin@users.noreply.github.com>
Copilot AI changed the title [WIP] Add support for launching AnythingLLM and other tools Add launch command for external integrations Jan 24, 2026
Copilot AI requested a review from ericcurtin January 24, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants