Docker for Production - Windows 2012 server

Hello, I have a few questions Im hoping someone will be able to help me with. The first is docker for production. We are currently using XAMMP but I have run into some issues of things working on my local development machine and then not on the server. We are currently on Windows server 2012. Is using docker a solution for this? If so how can I do about making sure the data from the database is backed up? What else would be required in order to it secure and get in working order?