Release the binary for the Docker CLI plugin `docker-model-plugin`
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 651
- Forks
- 155
- PR merge metrics
- No merged PRs in 30d
Description
- The documentation at https://docs.docker.com/ai/model-runner/get-started/#docker-engine only mentions how to install the
docker-model-pluginon a rootful Docker engine. However, it never mentions how to install thedocker-model-pluginon a rootless Docker engine. -
- It seems that currently, Git only releases source code, not binary artifacts. This prevents me from performing operations like the following:
sudo apt install --assume-yes uidmap iptables
cat /etc/systemd/system/user@.service.d/delegate.conf
sudo mkdir -p /etc/systemd/system/user@.service.d
sudo tee /etc/systemd/system/user@.service.d/delegate.conf << EOF
[Service]
Delegate=cpu cpuset io memory pids
EOF
sudo systemctl daemon-reload
mkdir -p ~/bin
curl -L -o /tmp/docker.tgz "https://mirrors.aliyun.com/docker-ce/linux/static/stable/x86_64/docker-29.6.1.tgz"
tar -xzf /tmp/docker.tgz --strip-components=1 -C ~/bin
curl -L -o /tmp/rootless.tgz "https://mirrors.aliyun.com/docker-ce/linux/static/stable/x86_64/docker-rootless-extras-29.6.1.tgz"
tar -xzf /tmp/rootless.tgz --strip-components=1 -C ~/bin
rm /tmp/docker.tgz /tmp/rootless.tgz
tee --append ~/.bashrc <<'EOF'
export PATH=$HOME/bin:$PATH
EOF
source ~/.bashrc
~/bin/dockerd-rootless-setuptool.sh install
cat ~/.config/docker/daemon.json
mkdir -p ~/.config/docker
tee ~/.config/docker/daemon.json <<EOF
{
"log-driver": "local"
}
EOF
systemctl --user restart docker.service
ls -la ~/.docker/cli-plugins/
mkdir -p ~/.docker/cli-plugins
curl -L -o ~/.docker/cli-plugins/docker-buildx https://github.com/docker/buildx/releases/download/v0.35.0/buildx-v0.35.0.linux-amd64
chmod +x ~/.docker/cli-plugins/docker-buildx
curl -L -o ~/.docker/cli-plugins/docker-compose https://github.com/docker/compose/releases/download/v5.3.1/docker-compose-linux-x86_64
chmod +x ~/.docker/cli-plugins/docker-compose
- I think the binary output of the Docker CLI plugin
docker-model-pluginshould be released so that I can download it into the~/.docker/cli-pluginsfolder.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue concerns the docker-model-plugin binary and installation into ~/.docker/cli-plugins. Start by tracing how this repository’s GitHub releases currently publish source-only artifacts; done means a downloadable plugin binary is available for the requested Docker CLI installation path and the rootless-engine installation guidance is addressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- cli, release
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100