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

Does this image support usage of /docker-entrypoint-initdb.d/? #26

Closed
Dragas opened this issue Feb 17, 2019 · 4 comments
Closed

Does this image support usage of /docker-entrypoint-initdb.d/? #26

Dragas opened this issue Feb 17, 2019 · 4 comments
Assignees

Comments

@Dragas
Copy link

Dragas commented Feb 17, 2019

Hi!

I've found this image as an alternative to regular mariadb images, since my target requires running on ARM architecture, but I've come into an issue that it is not exactly a drop in replacement for original mariadb image. Question stands: Does this image support usage of /docker-entrypoint-initdb.d/, where any provided bash and sql scripts would be executed? If not, is there an alternative for such behavior?

References:
https://hub.docker.com/_/mariadb#initializing-a-fresh-instance

@aptalca
Copy link
Member

aptalca commented Feb 17, 2019

No we don't support automatic execution of files in a folder. However, you can put whatever files and scripts into the config folder and run them manually via docker run or exec

@homerr homerr closed this as completed Feb 27, 2019
@netwrkx
Copy link

netwrkx commented Oct 26, 2019

Any update on this feature?

@CHBMB
Copy link
Member

CHBMB commented Oct 26, 2019

@thelamer
Copy link
Member

Just saw this , as this is SQL that needs to be injected post init we should consider adding this

@thelamer thelamer reopened this Oct 26, 2019
@thelamer thelamer self-assigned this Oct 26, 2019
thelamer added a commit that referenced this issue Oct 29, 2019
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

6 participants