Skip to content

Release the binary for the Docker CLI plugin docker-model-plugin #1016

Description

@linghengqian
  • The documentation at https://docs.docker.com/ai/model-runner/get-started/#docker-engine only mentions how to install the docker-model-plugin on a rootful Docker engine. However, it never mentions how to install the docker-model-plugin on a rootless Docker engine.
  • Image
  • 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-plugin should be released so that I can download it into the ~/.docker/cli-plugins folder.

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