このページは機械翻訳されています。英語の原文を読む。

Recipe

docker-model-runner

A model served by the host's own Docker Model Runner, for local development via Docker Compose. The Recipe writes the model into the compose file's top-level `models` element under the component's own name, with its context size and runtime flags, and Compose pulls and configures it there when the stack starts. Beside it the Recipe adds one service under the same name, granted the model. Compose leaves out a model no service is granted, so without it a plain `docker compose up` would pull nothing. The service runs a minimal image that exits at once; Compose has already pulled and configured the model before it starts any container. provides.endpoint is the address containers reach the host's runner at, infra.endpoint, which defaults to Docker Desktop's http://model-runner.docker.internal/engines/v1; on Docker Engine a Release sets it to the address the host's runner answers containers at. Host, port and protocol are read from it. The settings that size or place an in-cluster server — port, engine_version, replicas, compute, gpu and model_cache — are refused here by name.

来歴

公式このカタログが公式の公開者として認めている署名 ID によって署名されています。
コンテンツダイジェスト
sha256:fa85e2b6d40d8e8d4a56c8f3bf7642cba811faa20b512d93e2400a3c3a712d2c
公開日
2026-11-10T10:18:54Z
署名 ID
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

署名

  • 公式application/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:7c5bc54d6a263f548f70e89d8d4de42b4e1d1c34c05b1b18b91f79117f59f220

このバージョンの参照

oci://hub.aggrega.ai/recipe/compose/docker-model-runner:1.0.0
ターゲット
—
実装対象
core/ai-model/docker-model-runner:1.0.0

提供

このレシピが利用側のために配線する決定論的なポインターテンプレートです。

名前テンプレート
host{{ .locals.hostname }}
port{{ .locals.port }}
endpoint{{ .locals.endpoint }}
model{{ .values.model }}
protocol{{ .locals.scheme }}

Workload

ワークロードテンプレートは宣言されていません。

ローカル変数

名前テンプレート
endpoint{{ optional .infra "endpoint" "http://model-runner.docker.internal/engines/v1" }}
scheme{{ (urlParse .locals.endpoint).scheme }}
hostname{{ (urlParse .locals.endpoint).hostname }}
port{{ $u := urlParse .locals.endpoint }}{{ $p := regexFind ":[0-9]+
quot; $u.host | trimPrefix ":" }}{{ if $p }}{{ $p }}{{ else if eq $u.scheme "http" }}80{{ else }}443{{ end }}

値のマッピング

値のマッピングは宣言されていません。

関係

他の公開エンティティとの間の型付きエッジです。公開されたターゲットがない参照は、リンクではなく切れたエッジとして表示されます。

使用先

  • 実装実装コントラクト互換

    core/ai-model/docker-model-runner:1.0.0

    必須の出力はすべて満たされており、提供されるすべての出力がコントラクトに記載されています。

使用元

カタログ内にこのエンティティに依存しているものはありません。

Recipe の概念リファレンス →

Aggrega カタログ — コンポーネント、機能、レシピ、およびそれらをレンダリングするプラグインのオープンなインデックスです。

共有の Aggrega デザインシステムで構築されています。

プライバシー