re: How to build a docker image which can restore databases whenever a new container is created from it VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Adding the backup file to the image means that you have to rebuild the image whenever it changes. Mounting a directory from the host system as a vo...
 

Hi Dian,

Thanks for your feedback.

You are correct, but I think building a final image can be helpful when database development is completed and then we can push it to the docker-hub, so that anyone pulls that image can have a preset database.

Please let me know if any better option is out there.

Thanks :)

code of conduct - report abuse