The bad situation with bind volumes
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- docker, docker-compose, shell
- 领域
- devops, infrastructure
调研方向
先阅读 Drupal Dockerfile,然后跟踪镜像如何在 Web 服务器启动前准备其数据。使用 Docker Compose bind-volume 设置复现该问题,并验证新挂载的位置会接收镜像数据,而不会替换现有的用户数据。
由索引模型根据 Issue 内容生成。
描述
Drupal is really cool but the docker image has an issue where it makes it really annoying to host using docker images, bind volumes. For example a lot of us just create a docker compose with bind volumes to our data and start the app but due to the (bad) design choice of Drupal's dockerfile the volume location has already data which are getting replaced by docker. The solution is as simple as storing the data on a template location and copy them just before the web server starts. I would really like to see this implemented as it would make self hosting Drupal with docker extremely easy.
- 主要语言
- Shell
- 星标
- 291
- 派生
- 199
- 平均合并
- 5 小时 12 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
docker-library/drupal 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
docker-library/drupal#270 · 3 条评论 ·
-
难度 4/5 3-5 天 新手友好度 30/100
docker-library/drupal#264 · 14 条评论 · 4 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 42/100
docker-library/drupal#246 · 6 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
docker-library/drupal#230 · 3 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
docker-library/drupal#227 · 1 条评论 ·
查看 docker-library/drupal 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 2/5 1-3 小时 新手友好度 82/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
alunduil/alunduil-infrastructure#629 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 92/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
duckdb/duckdb-skills#19 ·