Copying php in a volume make the init and upgrades very slow
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- docker, shell
- 领域
- devops, infrastructure
调研方向
首先检查镜像的 entrypoint script,以及它如何将 /usr/src/nextcloud 复制到 /var/www/html。将其与 issue 中定制的镜像进行比较,后者仅使用 symlinks 共享可写文件夹,并在使用 NFS 存储的高可用设置中确认其行为。当达成一种可避免在初始化或升级期间复制超过 25k 个文件的方案时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
The source code is located at /usr/src/nextcloud in the image and the entrypoint script copy it to /var/www/html.
In a high availability environment, it's necessary to share the /var/www/html between containers so you have to store it on NFS like storages who are not very fast. During initialization or upgrade, the entrypoint copy more that 25k files and it's very very slow.
As I said at https://github.com/nextcloud/helm/issues/10#issuecomment-2372067055, I use a customized image who share only folders who need to be writable by several containers using symlink.
This is potentially a big PR so I would like to know if you are interested before starting.
- 主要语言
- Shell
- 星标
- 7.4k
- 派生
- 1.9k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/docker 的其他 Issue
-
1. To develop bug feature: cron image
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 70/100
-
bug docs
难度 1/5 1 小时以内 新手友好度 72/100
-
0. Needs triage bug
难度 4/5 3-5 天 新手友好度 35/100
-
Imagick architecture mismatch (x86_64 vs aarch64) on official arm64 image causes Apache segfaults未关闭0. Needs triage bug
难度 4/5 3-5 天 新手友好度 50/100
相似的 Issue
-
Laptop display stays disabled after unplugging external monitor: FALLBACK output counted as external未关闭
难度 2/5 1-3 小时 新手友好度 79/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 82/100
-
[Bug]: Three default prefs with JSON values are never set (override.sh escapes their quotes twice)未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
Floorp-Projects/Floorp#2913 ·
维护者通常 1 天内回复
-
agent-butler-finding agent-research-recommend bug ready-for-agent
难度 2/5 1-3 小时 新手友好度 82/100
jordansmall/spindrift#5258 · 1 条评论 ·
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复