I am running on my local machine a Drupal site with its MySQL database, and the source code is split into many Github repositories (one for each module).

As making the website running on a new machine is very time-consuming for all the repositories and migrating the database, I was thinking if Docker can help. A couple of questions:

* Can Docker encapsulate the entire drupal site, including the database with some data already there?
* If I pull an image from docker, can I edit the original Drupal source code? How?