The bad situation with bind volumes
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- docker, docker-compose, shell
- Domain
- devops, infrastructure
Research direction
Read the Drupal Dockerfile first, then trace how the image prepares its data before the web server starts. Reproduce the issue with a Docker Compose bind-volume setup and verify that a fresh mounted location receives the image data without replacing existing user data.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Shell
- Stars
- 291
- Forks
- 199
- Avg merge
- 5h 12m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from docker-library/drupal
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
docker-library/drupal#270 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
docker-library/drupal#264 · 14 comments · 4 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
docker-library/drupal#246 · 6 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
docker-library/drupal#230 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
docker-library/drupal#227 · 1 comment ·
All issues in docker-library/drupal
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
YosysHQ/oss-cad-suite-build#216 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ekalinin/github-markdown-toc#167 ·
-
out-of-date
Difficulty 1/5 Under an hour Newbie friendliness 82/100
CachyOS/CachyOS-PKGBUILDS#1917 ·
Maintainers usually reply within 1 day
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day