From b1b0531e476391121c5e713aa5ad935fee3b4c77 Mon Sep 17 00:00:00 2001 From: rockmelodies <939555035@qq.com> Date: Wed, 24 Dec 2025 19:05:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0readme.md=20docker=E5=8A=A0?= =?UTF-8?q?=E9=80=9F=E6=BA=90=E9=85=8D=E7=BD=AE=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 31 +++++++++++++++++++++++++++++++ README_EN.md | 31 +++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/README.md b/README.md index 5be833c..062836a 100644 --- a/README.md +++ b/README.md @@ -197,6 +197,37 @@ docker pull ghcr.nju.edu.cn/lintsinghua/deepaudit-sandbox:latest > 💡 镜像源由 [南京大学开源镜像站](https://mirrors.nju.edu.cn/) 提供支持 +
+💡 配置 Docker 镜像加速(可选,进一步提升拉取速度)(点击展开) + +如果拉取镜像仍然较慢,可以配置 Docker 镜像加速器。编辑 Docker 配置文件并添加以下镜像源: + +**Linux / macOS**:编辑 `/etc/docker/daemon.json` + +**Windows**:右键 Docker Desktop 图标 → Settings → Docker Engine + +```json +{ + "registry-mirrors": [ + "https://docker.1ms.run", + "https://dockerproxy.com", + "https://hub.rat.dev" + ] +} +``` + +保存后重启 Docker 服务: + +```bash +# Linux +sudo systemctl restart docker + +# macOS / Windows +# 重启 Docker Desktop 应用 +``` + +
+ > 🎉 **启动成功!** 访问 http://localhost:3000 开始体验。 --- diff --git a/README_EN.md b/README_EN.md index c34daf4..8255db6 100644 --- a/README_EN.md +++ b/README_EN.md @@ -173,6 +173,37 @@ Using pre-built Docker images, no need to clone code, start with one command: curl -fsSL https://raw.githubusercontent.com/lintsinghua/DeepAudit/v3.0.0/docker-compose.prod.yml | docker compose -f - up -d ``` +
+💡 Configure Docker Registry Mirrors (Optional, for faster image pulling) (Click to expand) + +If pulling images is still slow, you can configure Docker registry mirrors. Edit the Docker configuration file and add the following mirror sources: + +**Linux / macOS**: Edit `/etc/docker/daemon.json` + +**Windows**: Right-click Docker Desktop icon → Settings → Docker Engine + +```json +{ + "registry-mirrors": [ + "https://docker.1ms.run", + "https://dockerproxy.com", + "https://hub.rat.dev" + ] +} +``` + +Restart Docker service after saving: + +```bash +# Linux +sudo systemctl restart docker + +# macOS / Windows +# Restart Docker Desktop application +``` + +
+ > **Success!** Visit http://localhost:3000 to start exploring. ---