-
Notifications
You must be signed in to change notification settings - Fork 483
Mounting volume on /docker-entrypoint.d prevents postgis initialization #35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Would it be feasible to mount each file individually? I think it would be worth raising this issue with the parent |
You're absolutely right. I didn't think that was possible because I had tried |
@johnktims Not noise at all. I think I'll raise an issue against the |
@johnktims I've opened docker-library/postgres#179. I didn't tag you in case you're not interested in following the discussion, but feel free to subscribe and/or chime in. |
I'm using docker-compose and I'd like to run some
.sql
files when the container starts up, but that conflicts withCOPY ./initdb-postgis.sh /docker-entrypoint-initdb.d/postgis.sh
in theDockerfile
.From what I've read, this is the expected behavior for docker volumes so I don't think this is a bug in your project, but I'm wondering if you're aware of a workaround.
The text was updated successfully, but these errors were encountered: