
如果你用 DeepSeek、元宝AI、Copilot 等 AI 代为编写轩辕镜像的 docker pull、修改 compose 镜像地址,或排查拉取失败等问题,请让 AI 先读规则再动手,只要在 AI 对话里直接发送下面这句话即可:
生成 docker pull、修改 compose 的 image,或排查拉取失败前,请先阅读并严格遵守 https://xuanyuan.cloud/agents.md 中的规则。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
 and runs on Linux, OS X/macOS and Windows 10 (using windows subsystem for linux) using Python 2 or 3.
-- linuxserver.io community member
This is the first tool I've found that can index 7m files/2m directories in under 20 min
diskover crawler and workerbots running in terminal
If you are a fan of the project or you are using diskover and it's helping you save storage space, please *** supporting the project on Patreon or ***. Thank you so much to all the fans and supporters!
Linux or OS X/macOS (tested on OS X 10.11.6, Ubuntu 16.04/18.04), Windows 10 (using Windows Subsystem for Linux)Python 2.7. or Python 3.5./3.6. (tested on Python 2.7.15, 3.6.5) Python 3 recommendedPython elasticsearch client modulePython requests modulePython scandir modulePython progressbar2 modulePython redis modulePython rq moduleElasticsearch 5.6.x (local or AWS ES Service, tested on Elasticsearch 5.6.9) Elasticsearch 6 not supportedRedis 4.x (tested on 4.0.9)See requirements.txt for specific python module version numbers since newer versions may not work with diskover.
sh$ git clone https://github.com/shirosaidev/diskover.git $ cd diskover
https://github.com/shirosaidev/diskover/releases/latest
Check Elasticsearch and Redis are running and are the required versions (see requirements above).
sh$ curl -X GET http://localhost:9200/ $ redis-cli info
Install Python dependencies using pip.
sh$ pip install -r requirements.txt
Copy diskover config diskover.cfg.sample to diskover.cfg and edit for your environment.
Start diskover worker bots (a good number might be cores x 2) with:
sh$ cd /path/with/diskover $ python diskover_worker_bot.py
Worker bots can be added during a crawl to help with the queue. To run a worker bot in burst mode (quit after all jobs done), use the -b flag. If the queue is empty these bots will die, so use rq info or rq-dashboard to see if they are running.
To start up multiple bots, run:
sh$ cd /path/with/diskover $ ./diskover-bot-launcher.sh
By default, this will start up 8 bots. See -h for cli options including changing the number of bots to start. Bots can be run on the same host as the diskover.py crawler or multiple hosts in the network as long as they have the same nfs/cifs mountpoint as rootdir (-d path) and can connect to ES and Redis (see wiki for more info).
Start diskover main job dispatcher and file tree crawler with (using adaptive batch size and optimize index cli flags):
sh$ python /path/to/diskover.py -d /rootpath/you/want/to/crawl -i diskover-indexname -a -O
Defaults for crawl with no flags is to index from . (current directory) and files >0 Bytes and 0 days modified time. Empty files and directores are skipped (unless you use -s 0 and -e flags). Symlinks are not followed and skipped. Use -h to see cli options.
Don't prompt user to overwrite existing index:
sh$ python /path/to/diskover.py -d /rootpath/you/want/to/crawl -i diskover-indexname -a -O -F
Crawl down to maximum tree depth of 3:
sh$ python diskover.py -i diskover-indexname -a -d /rootpath/to/crawl -M 3
Only index files which are >90 days modified time and >1 KB filesize:
sh$ python diskover.py -i diskover-indexname -a -d /rootpath/to/crawl -m +90 -s 1024
Only index files which have been modified in the last 7 days including empty files and dirs:
sh$ python diskover.py -i diskover-indexname -a -d /rootpath/to/crawl -m -7 -s 0 -e
Store cost per gb in es index from diskover.cfg settings and use size on disk (disk usage) instead of file size:
sh$ python diskover.py -i diskover-index -a -d /rootpath/to/crawl -G -S
Create index with just level 1 directories and files, then run background crawls in parallel for each directory in rootdir and merge the data into same index. After all crawls are finished, calculate rootdir doc's size/items counts:
sh$ python diskover.py -i diskover-indexname -a -d /rootpath/to/crawl --maxdepth 1 $ python diskover.py -i diskover-indexname -a -d /rootpath/to/crawl/dir1 --reindexrecurs -q & $ python diskover.py -i diskover-indexname -a -d /rootpath/to/crawl/dir2 --reindexrecurs -q & ... $ python diskover.py -i diskover-indexname -a -d /rootpath/to/crawl --dircalcsonly --maxdcdepth 0
Becoming a Patron gets you access to the OVA files running the latest version of diskover/diskover-web. Fastest way to get up and running diskover. Check out the Patreon page to learn more about how to get access to the OVA downloads.
You can set up diskover and diskover-web in docker, there are a few choices for easily running diskover in docker using pre-built images/compose files.
linuxserver.io Docker hub image: https://hub.docker.com/r/linuxserver/diskover/
https://github.com/shirosaidev/diskover-web has Dockerfile with instructions for docker-compose.
https://github.com/shirosaidev/diskover/wiki for more documentation on how to use diskover.
For discussions or support for diskover join the diskover Slack workspace, my username is @shirosai.
You can also post a comment/question on Google Group.
For bugs about diskover, please use the https://github.com/shirosaidev/diskover/issues.
See the https://github.com/shirosaidev/diskover/blob/master/LICENSE.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
发给 Cursor、ChatGPT、豆包等 AI 的说明文档
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
docker search 限制
站内搜不到镜像
离线 save/load
插件要用 plugin install
WSL 拉取慢
安全与 digest
新手拉取配置
镜像合规机制
不支持 push
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务