![]() ![]() ![]() My local file system is setup to allow Docker to map volumes to my local machine, the folder structure looks this: Initial Setupįirst of all lets setup the site and witness how slow it is. I am going to assume you are familiar with Docker and Docker Compose. While I am using Drupal 8 development as an example, this technique will help speed up any sites running with large volumes mapped. I am going to use a pre-configured Drupal 8 Docker image along with a set of files for a default Drupal 8 site. We can solve this with an open source tool called Docker Sync. But it turns out with large frameworks like Drupal 8 mapping these files with volumes causes our sites to run extremely slow. When running Drupal 8 and Docker to develop locally, we often use volumes to map our Drupal files and modules from our local machine to our container so we can edit our files in our local IDE and run the files with our container.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |