
humancolossus/oca-repositoryOCA Repository是一个用于管理和处理OCA (Open Context Architecture) Bundle的Docker镜像,提供API接口支持OCA Bundle的添加、获取等操作。该镜像已迁移至GitHub Container Registry (GHCR),适用于开发和生产环境中OCA Bundle的集中管理。
由于镜像已迁移至GHCR,拉取命令如下:
bashdocker pull ghcr.io/thclab/oca-repository:latest
生产环境部署时,建议将
latest替换为基于SemVer的具体版本标签,以确保版本稳定性。
bashdocker run \ -it \ --rm \ -p 8000:8000 \ -v $PWD/config/config.yml:/app/config/config.yml:ro \ ghcr.io/thclab/oca-repository:latest
参数说明:
-it: 以交互式终端模式运行--rm: 容器退出后自动删除容器文件-p 8000:8000: 端口映射,将容器的8000端口映射到主机的8000端口-v $PWD/config/config.yml:/app/config/config.yml:ro: 挂载本地配置文件(只读模式)所有可用接口详见OCA Repository标签下的openapi.yml规范文件。
bashgit clone ***:THCLab/oca-repository-rs.git
bashdocker-compose up
bashcurl -XPOST [***] \ -H "Content-type: text/plain" \ --data-binary @ocafile.txt
bashcurl [***]






manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务