I just tried moving the application to the docker container using boot2docker in OS X.
For this application, you need to connect to the mysql server running on the main system (not in the application container or in another container).
Now I am struggling with setting up the mysql name in the docker application: for now, it is simply connected to localhost, but this no longer works because it no longer indicates that mysql is actually running.
As a quick workaround, I added my private IP workstations (10.0.0.X in my case) to the mysql connection configuration of the application.
However, I wonder: Is there an automatic way to find the private host IP address from the docker container?
source share