diff --git a/README.md b/README.md index 1ad0d6913..8974a8e2f 100644 --- a/README.md +++ b/README.md @@ -143,6 +143,9 @@ hosts 文件在每个系统的位置不一,详情如下: 将上面的命令添加到 cron,可定时执行。使用前确保 GitHub520 内容在该文件最后部分。 +#### 在docker中运行,若遇到`Device or resource busy`错误,可使用以下命令执行 +`cp /etc/hosts ~/hosts.new && sed -i "/# GitHub520 Host Start/Q" ~/hosts.new && curl https://raw.hellogithub.com/hosts >> ~/hosts.new && cp -f ~/hosts.new /etc/hosts` + ### 2.4 AdGuard 用户(自动方式) 在 **过滤器>DNS 封锁清单>添加阻止列表>添加一个自定义列表**,配置如下: