How to populate a Mysql docker container during build of another container?
问题 I am trying to build a docker-compose file that automatically builds a container for my application and a mysql-container that stores all the data. Within my dockerfile for my application I have a script, that sets up all the database tables and preset values, that are necessary for the application to run. Is it possible to somehow pass the reference of the mysql container to myapplication that during build of myapplication it can access the mysql container? If so, how can I do that, and if