You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your docker-modx repository! it helps me a lot.
Now I want to source my mysql dump file after auto install in docker enviroment.
I was successful in command as follow, but I want to run it auto instead of manually..
mysql -u root -h 127.0.0.1 -P 13307 --protocol=tcp -p
password:
use modx;
source my.sql
This is what I've tried
make a directory as 「docker-entrypoint-initdb.d」 in mariadb directory
put my mysql inside the 「docker-entrypoint-initdb.d」 directory.
edit Dockerfile inside mariadb as follow
FROM mariadb:10.1.38-bionic
COPY ./docker-entrypoint-initdb.d/ ./docker-entrypoint-initdb.d/
But it doesn't work..
What should I do so that I can insert my dump date into running container ?
I am looking forward to your reply! Thank you guy !
The text was updated successfully, but these errors were encountered:
Thanks for your docker-modx repository! it helps me a lot.
Now I want to source my mysql dump file after auto install in docker enviroment.
I was successful in command as follow, but I want to run it auto instead of manually..
This is what I've tried
But it doesn't work..
What should I do so that I can insert my dump date into running container ?
I am looking forward to your reply! Thank you guy !
The text was updated successfully, but these errors were encountered: