ilopezluna查看中文加速指南
包含Mistral AI发布的7B参数大语言模型(版本0.3)的Ollama Docker镜像,支持文本生成等功能,可快速部署使用。
下载次数: 0状态:社区镜像维护者:ilopezluna仓库类型:镜像最近更新:
Build and Push Docker Image with Ollama Model GitHub Action
This GitHub Action automates the process of building and pushing a Docker image that includes a specified model running in Ollama to DockerHub.
Inputs
docker_username: Required. Your DockerHub username.docker_password: Required. Your DockerHub password.docker_repository: Required. The DockerHub repository name where the image will be pushed.docker_tag: Required. The tag to use for the pushed Docker image.model_name: Required. The name of the model to be included in the Docker image.model_tag: The tag of the model. Defaults tolatest.ollama_version: The version of Ollama to use. Defaults tolatest.short_description: The DockerHub repository description
Usage
To use this action in your workflow, add the following step:
yaml- name: Build and Deploy Docker Image uses: ilopezluna/dockerize-ollama-models@v1.0.2 with: docker_username: ${{ secrets.DOCKER_USERNAME }} docker_password: ${{ secrets.DOCKER_PASSWORD }} docker_repository: <your-dockerhub-repository> docker_tag: <your-image-tag> model_name: <your-model-name> model_tag: <your-model-tag> # Optional ollama_version: <ollama-version> # Optional short_description: <model-description> # Optional
Example
See the example workflow for a complete example.
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
轩辕镜像加速拉取命令点我查看更多 mistral 镜像标签
docker pull docker.xuanyuan.run/ilopezluna/mistral:<标签>
DockerHub 原生拉取命令
docker pull ilopezluna/mistral:<标签>
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务