Query reg database linkage in docker windows

I currently installed docker toolbox for windows that comes with default kitematic(Alpha) package.Here I downloaded “Alpine-lamp” and was successful in the webpage preview suggested.Then I edited it and successfully created a php with sql program that inserts and fetches values from mysql within the same container.
But now the scenario is i want a form may be built in php which is also dockerized and the input of the form must be saved in say a database available in my system or in the phpadmin available in wamp of my system

how can i achieve this?pls help me out.