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

Run scripts in /docker-entrypoint-initdb.d #36

Closed
zippy1981 opened this issue Feb 20, 2017 · 2 comments
Closed

Run scripts in /docker-entrypoint-initdb.d #36

zippy1981 opened this issue Feb 20, 2017 · 2 comments

Comments

@zippy1981
Copy link

This probably requires that odbc tools be added to the image. However, both the official postgres and mysql images will execute any sql scripts in that folder. This makes it very easy to spin up an instance with, your schema already defined. Its also really good if you want to add some scripts like sp_WhoIsActive, Ola's maintenance script., or Brent's scripts to docker images.

@sb185219
Copy link

this is pretty much the same as #2 and #4

@twright-msft
Copy link
Collaborator

@zippy1981
As I understand your request this is a duplicate of #11
Please reopen if you are looking for something different.

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

3 participants