Skip to content

9.6.1: Fails to execute docker-entrypoint-initdb.d #254

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

Closed
maul-esel opened this issue Jan 21, 2017 · 2 comments
Closed

9.6.1: Fails to execute docker-entrypoint-initdb.d #254

maul-esel opened this issue Jan 21, 2017 · 2 comments

Comments

@maul-esel
Copy link

There seems to be a bug in the latest docker images. Specifically it seems to be introduced by commit 3706d4c. See here: if (id -u) == 0, postgres is executed without first importing the scripts from /docker-entrypoint-initdb.d. This breaks existing Dockerfiles.

@yosifkit
Copy link
Member

Are you talking about the change that initdb.d scripts are no longer run as root? I had commented about that on the PR introducing this change: #253 (comment).

@maul-esel
Copy link
Author

So the solution would be to pass --user to docker run? Since this seems intentional, and I personally am no longer affected, I'll close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants