将 Docker 插件 `Docker-model-plugin` 添加到 Rancher Desktop
作者: linghengqian创建于 2025年5月26日更新于 2026年9月26日
标签kind/enhancementarea/utilities
Problem Description
- According to https://GitHub.com/Docker/Docker-ce-packaging/pull/1190, the
Docker Model Runner(https://docs.Docker.com/model-runner/) represented byDocker-model-pluginwill soon become one of the default installation options for Docker CE, and there is a PR https://GitHub.com/Docker/Docker-install/pull/495 that attempts to addDocker-model-pluginto the installation script of Docker CE in rootful mode. - I looked at the output of
Docker infoon my Rancher Desktop 1.18.2 instance on Windows and did not seeDocker-model-plugininstalled.
PS C:\Users\lingh> Docker info
Client:
Version: 27.5.1-rd
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.20.1
Path: C:\Program Files\Rancher Desktop\resources\resources\win32\Docker-cli-plugins\Docker-buildx.exe
compose: Docker Compose (Docker Inc.)
Version: v2.33.0
Path: C:\Program Files\Rancher Desktop\resources\resources\win32\Docker-cli-plugins\Docker-compose.exe
Server:
Containers: 1
Running: 1
Paused: 0
Stopped: 0
Images: 23
Server Version: 26.1.5
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: false
Logging Driver: local
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
Swarm: inactive
Runtimes: runc io.containerd.runc.v2
Default Runtime: runc
Init Binary: Docker-init
containerd version: 3a4de459a68952ffb703bbe7f2290861a75b6b67
runc version: 2c9f5602f0ba3d9da1c2596322dfc4e156844890
init version:
Security Options:
seccomp
Profile: builtin
Kernel Version: 5.15.167.4-microsoft-standard-WSL2
Operating System: Rancher Desktop WSL Distribution
OSType: linux
Architecture: x86_64
CPUs: 16
Total Memory: 15.22GiB
Name: DESKTOP-A6CSN1A
ID: 2052c82e-dfb5-4b92-bd5f-f1a63a10341d
Docker Root Dir: /var/lib/Docker
Debug Mode: false
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support
- This can indeed be verified with another command,
```shell
PS C:\Users\lingh> Docker model help
Docker: 'model' is not a Docker command.
See 'Docker --help'
- I would like to know if it is possible to add the Docker Plugin for `Docker-model-plugin` for Rancher Desktop? Or is `Docker-model-plugin` only available in the Linux version of Rancher Desktop?
### Proposed Solution
- Add the Docker Plugin `Docker-model-plugin` to Rancher Desktop.
### Additional Information
- See https://GitHub.com/Docker/Docker-ce-packaging/pull/1190 and https://GitHub.com/Docker/Docker-install/pull/495 .
- If I内容来源: rancher-sandbox/rancher-desktop