I'm having a bit of trouble trying to get Magento to play nice inside a Docker container. Here's my situation:
- I'm using Magento2 (1.0.0-beta)
- I've already provisioned a MySQL database with Magento's sample data and configuration using the CLI's
setup:install
- Running
setup:install
inside a Docker at provision time successfully sets up Magento2 but overwrites the database
The question I have is how does one provision a new Magento machine from a fresh install but using an existing database and configuration? Are there specific files I need to copy off a master instance? And what is the best way to install all the cache files that setup:install
does and warming everything up without mangling the shared database?