Skip to content
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

Database not created using $POSTGRESQL_DB #18

Closed
ghost opened this issue Dec 8, 2014 · 1 comment
Closed

Database not created using $POSTGRESQL_DB #18

ghost opened this issue Dec 8, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 8, 2014

I know this repository is being deprecated but I'm just being curious as I still use this image for some projects instead of the official one (for CI tools). Problem is database is not created as expected on container runtime.

@ghost
Copy link
Author

ghost commented Feb 18, 2015

Just giving a heads up in here; problem was the database name contained a dash (-).
Here's a workaround:

$ docker run -d -p 5432:5432 -e POSTGRESQL_DB='"db-name"' orchardup/postgresql

@ghost ghost closed this as completed Feb 18, 2015
This issue was closed.
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

0 participants