
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
Provides an https://hub.docker.com/r/nvidia/cuda container with https://github.com/iperov/DeepFaceLab pre-installed on an https://www.anaconda.com/ and https://hub.docker.com/r/tensorflow/tensorflow container xychelsea/tensorflow:latest-gpu.
https://github.com/iperov/DeepFaceLab is an open source research project, based on https://tensorflow.org exploring the role of machine learning as a tool in the creative process. https://tensorflow.org/ is an open source platform for machine learning. It provides tools, libraries and community resources for researcher and developers to build and deploy machine learning applications. https://anaconda.com/ is an open data science platform based on Python 3. This container installs TensorFlow through the conda command with a lightweight version of Anaconda (Miniconda) and the conda-forge https://conda-forge.org/ in the /usr/local/anaconda directory. The default user, anaconda runs a https://github.com/krallin/tini/ /usr/bin/tini, and comes preloaded with the conda command in the environment $PATH. Additional versions with https://hub.docker.com/r/nvidia/cuda/ support and https://jupyter.org/ tags are available.
Two flavors provide an https://hub.docker.com/r/nvidia/cuda container with https://tensorflow.org pre-installed through https://anaconda.com/.
The base container, based on the xychelsea/tensorflow:latest from the https://hub.docker.com/r/xychelsea/anaconda3 (xychelsea/anaconda3:latest) running Tini shell. For the container with a /usr/bin/tini entry point, use:
bashdocker pull xychelsea/deepfacelab:latest
With Jupyter Notebooks server pre-installed, pull with:
bashdocker pull xychelsea/deepfacelab:latest-jupyter
Modified versions of nvidia/cuda:latest container, with support for NVIDIA/CUDA graphical processing units through the Tini shell. For the container with a /usr/bin/tini entry point:
bashdocker pull xychelsea/deepfacelab:latest-gpu
With Jupyter Notebooks server pre-installed, pull with:
bashdocker pull xychelsea/deepfacelab:latest-gpu-jupyter
To run the containers with the generic Docker application or NVIDIA enabled Docker, use the docker run command with a bound volume directory workspace attached at mount point /usr/local/deepfacelab/workspace.
bashdocker run --rm -it \ -v workspace:/usr/local/deepfacelab/workspace \ xychelsea/deepfacelab:latest
With Jupyter Notebooks server pre-installed, run with:
bashdocker run --rm -it -d -v workspace:/usr/local/deepfacelab/workspace \ -p 8888:8888 \ xychelsea/deepfacelab:latest-jupyter
bashdocker run --gpus all --rm -it -v workspace:/usr/local/deepface/workspace \ xychelsea/deepfacelab:latest-gpu /bin/bash
With Jupyter Notebooks server pre-installed, run with:
bashdocker run --gpus all --rm -it -d -v workspace:/usr/local/deepfacelab/workspace \ -p 8888:8888 \ xychelsea/deepfacelab:latest-gpu-jupyter
[TK]
To build either a GPU-enabled container or without GPUs, use the https://github.com/xychelsea/deepfacelab-docker GitHub repository.
bashgit clone git://github.com/iperov/DeepFaceLab.git
The base container, based on the xychelsea/deepfacelab:latest from the https://hub.docker.com/r/xychelsea/anaconda3 (xychelsea/anaconda3:latest) running Tini shell:
bashdocker build -t deepfacelab:latest -f Dockerfile .
With Jupyter Notebooks server pre-installed, build with:
bashdocker build -t deepfacelab:latest-jupyter -f Dockerfile.jupyter .
bashdocker build -t deepfacelab:latest-gpu -f Dockerfile.nvidia .
With Jupyter Notebooks server pre-installed, build with:
docker build -t deepfacelab:latest-gpu-jupyter -f Dockerfile.nvidia-jupyter .
The default environment uses the following configurable options:
ANACONDA_GID=100 ANACONDA_PATH=/usr/local/anaconda3 ANACONDA_UID=1000 ANACONDA_USER=anaconda ANACONDA_ENV=magenta DEEPFACELAB_PATH=/usr/local/deepfacelab DEEPFACELAB_HOME=$HOME/deepfacelab DEEPFACELAB_WORKSPACE=$DEEPFACELAB_PATH/workspace DEEPFACELAB_SCRIPTS=$DEEPFACELAB_PATH/scripts
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务